View Single Post
  #8  
Old 07-16-2007, 03:45 PM
tnygren's Avatar
tnygren tnygren is offline
Registered User
 
Join Date: May 2005
Posts: 1,408
Hi 1720,

I think that I may have miss understood how the script is being run.

If SecureCRT is used to start the script, then it is the script object host is SecureCRT not wscript. The wscript.arguments object will not be available but crt.arguments will be available.

If the following line:

device = WScript.Argument(0)

Is changed to:

device = crt.Arguments(0)

Does the script work correctly?
__________________
Thanks,

Teresa

Teresa Nygren
Reply With Quote