Results 1 to 1 of 1

Thread: [RESOLVED] giving values to variables from command line -- vbscript

  1. #1
    Junior Member
    Join Date
    Jan 08
    Posts
    25

    Resolved [RESOLVED] giving values to variables from command line -- vbscript

    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

    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"
    How can I execute the program and pass values to the variables from the command line?


    I figured it out......
    Last edited by dslider; Jan 31st, 2008 at 08:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •