passing arguments to javascript through cscript on the command line
- by chuck taylor
I have a small command line javascript routine that I usually run from the command line using cscript in windows. I'd like to be able to pass in arguments hopefully along the lines of...
%:cscript doSomethingToFile.js FileInQuestion.txt
Any insight on how to do this? Thanks much.