Task scheduler not sending command line arguments



Hello all,

I'm pretty new to VBS scripting. I have a script I wrote that is being
scheduled as an automated task. The command line for the task is
"c:\program files\...\smartmon.vbs" --server=bds01

When the script runs, it is logging to the event log telling me that it
received no arguments on the command line (the --server=bds01 part
isn't getting to the program). It runs fine from the command line. I
have tried multiple accounts, with no luck on any (admin accounts, my
account, system account).

Why wouldn't the arguments get passed along? I don't see that I am
doing anything wrong here. Any help is greatly appreciated.

Thanks

Adam

.


Quantcast