Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14424

Add support for managed .vbs scripts in Windows

XMLWordPrintable

      Hi,

      In a similar vein to the ticket to support .BAT scripts, would it also be possible to add support for .VBS script files?

      There are two 'varieties' of VBS scripts. Those which use GUI interaction need to be executed via the %SYSTEMROOT%\System32\WSCRIPT.EXE command. Those which use the console need to be executed with %SYSTEMROOT%\System32\CSCRIPT.EXE

      A sensible default command line for both interpreters would be:

      [WC]SCRIPT.EXE //NOLOGO <SCRIPTFILE.VBS> <ARGS>

      (the double forward-slash is apparently deliberate to distinguish [WC]SCRIPT arguments from script arguments).

      Thanks for your work on this plugin!

      Regards,
      Chris

            domi Dominik Bartholdi
            displaced Chris Platts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: