I'm not sure how to use this... can I call it from a batch script? Either way, thanks for the effort
save as a file and on command line
Code: Select all
cscript //nolog myscript.vbs myFileToSearch.txt
I'm not sure how to use this... can I call it from a batch script? Either way, thanks for the effort
Code: Select all
cscript //nolog myscript.vbs myFileToSearch.txt
Code: Select all
myString = "one two three four five"
myArray = Split(myString)
WScript.Echo myArray( UBound(myArray) )
foxidrive wrote:Try this code:
It uses a helper batch file called `repl.bat` from - https://www.dropbox.com/s/qidqwztmetbvklt/repl.bat