1 Reply Latest reply on Jun 12, 2008 4:54 AM by 644607

    upsShell

    631869
      Hi there,

      In regards to
      upsShell.exe CustomScriptEx=AppName~UserID~PW~DOMAIN~LoadBalancerName~LogDirectory~ScriptName

      Is there any way of passing arguments to the script identified at ~ScriptName
      I've tried a few alternatives but can't seem to get my script going with arguments, works fine when its just a subprocedure without args.

      Does any doco exist for upsShell.exe?


      Cheers...
        • 1. Re: upsShell
          644607
          As far as I know you can't submit arguments to subs.

          As you're probably launching your script from the command-line there is a workaround though:

          Create a text file and include the arguments in there. Then you can open the text file in your procedure and read the values.