Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading the Command Line Parameters passed to a VBS
Message
General information
Forum:
Visual Basic
Category:
VBScript
Miscellaneous
Thread ID:
00356099
Message ID:
00356143
Views:
15
OK,

I've done some "selective pruning" (also known here in Australia as Clear-Felling :)).

The answer to my double-barrelled question is two-fold.

In VBS, use the WScript.Arguments collection.

In VB, use the Command() function.

Cheers

Andrew


>How does one reference the command line parameters passed to a VBS (or for that matter, to a VB exe)?
>
>I've scoured MSDN, but I obviously can't see the wood for the trees.
>
>Cheers,
>
>Andrew


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Previous
Reply
Map
View

Click here to load this message in the networking platform