I need to be able to pass variables to a vbscript from the command line when I execute the script...
here are the variables I have in the script right now.. all hard coded in
How can I execute the program and pass values to the variables from the command line?Code:Dim NetworkName Dim ServerName Dim UserName Dim Email Dim NickName Dim ChannelFolder NetworkName = "whhat.ever.com" ServerName = "something:192.168.1.1:6789" UserName = "Tester" Email = "tester@whhat.ever.com" NickName = "tester" ChannelFolder = "#newChan"
I figured it out......


Reply With Quote