Const ForReading = 1 Const ForWriting = 2 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("temp.hrc", ForReading) strText = objFile.ReadAll objFile.Close strNewText = Replace(strText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "subst=", "subst-scheme=") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = Replace(strNewText, "", "") strNewText = ""+vbCrLf+""+vbCrLf+""+""+vbCrLf+""+""+vbCrLf+""+""+vbCrLf+""+strNewText + ""+vbCrLf+"" Set objFile = objFSO.OpenTextFile("temp.hrc", ForWriting) objFile.WriteLine strNewText objFile.Close