If I run:
c:\windows\system32\ntbackup.exe backup "@C:\File of Disinterest.bks" /n "Monthly Archive created 2008-02-06 at 20`05" /d "Monthly Archive created 2008-02-06 at 20`05" /v:yes /r:no /rs:no /hc:off /m normal /j "Monthly Archival" /l:f /f "X:\Rossamino backup$\Monthly Archive 2008-02-06.bkf" /SNAP:on
from a DOS prompt, it works just fine. When I run it from .VBS as:
set wshell = Wscript.crateObject("Wscript.Shell")
wshell.run "command.com /c " & runstring
where runstring is equal to the command it won't work. It also won't work if I insert the command in place of runstring and many iterations thereof.
Is there a maximum number of arguments that can be passed with the wshell.run method thingy?