VBScripting (.vbs) Basic tutorial on how to use the replace command line by line with an input box.
Code Example: (Note: change the «» into angle brackets.)
______________________________________________________
Option Explicit
Dim objFso, cd, cd2, objC, objRd, objwR, linecount, line, content, before, current, after, find, overight, ChooseLine, n, i
Set objFso = CreateObject("Scripting.FileSystemObject")
cd = "C:\Users\Jeremy\Desktop\file1.txt"
cd2 = Replace(Wscript.ScriptFullName, Wscript.ScriptName, "n
آی-ویدئو