VBscript: how to do a "testonly" argument to simulate output?
Posted on 2008-02-01
I have a script and will be writing more in VBscript.
I'd like to know a way to do something like wscript.exe script testonly
So that testonly is an argument I can pass to my script that will make the script(s) only a run a testcase and output what it would have done to a text file for review.
That way I can test my scripts without actually making any changes to production until I was assured they worked right.