Results 1 to 3 of 3

Thread: Passing Arguments from shortcuts

  1. #1
    Guest
    Hi!

    Does somebody knows how to pass an argument in a VB or VBS application from a shortcut command line?

    Example:

    Shortcut: C:\windows\script.vbs V00

    How to get or use the V00 argument in the command line in the vbs script?

    Thanks

  2. #2
    New Member
    Join Date
    Feb 2000
    Posts
    8
    In vb, use the Command() function. it returns any passed args, or "" if none were passed. I don't know about vbs tho

  3. #3
    Guest

    Thumbs up

    Thanks moogle_cat!!! I'll try it!!

Posting Permissions

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



Click Here to Expand Forum to Full Width