Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Force  Users  to  Type  Command-line  Arguments  in  a  Specific  Order  

 Content of Force Users to Type Command-line Arguments in a Specific Order.vbs
MD5 Hash: 4632C5D0E327A1AC2A6149DD45649C1A
If Wscript.Arguments.Named("s") = "" Or Wscript.Arguments.Named("c") = "" Then
Wscript.Echo "You must specify both the service and the computer using syntax like this:"
Wscript.Echo
Wscript.Echo "myscript.vbs /s:alerter /c:atl-ws-01"
Wscript.Quit
End If

Wscript.Echo "Service: " & Wscript.Arguments.Named("s")
Wscript.Echo "Computer: " & Wscript.Arguments.Named("c")



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a