How do I read in switches from the command line?

greenspun.com : LUSENET : MW Software's Visual BASIC Descusion System : One Thread

I am working on a front end project that is command line driven (although ouput is through the GUI.

How can VB read in command line switches?

Any help here would be greatly appreciated.

-- Jason Dever (jdever@nortelnetworks.com), July 22, 1999

Answers

Can't you just use "Command"? Unless I'm misreading something, you can do something like the following:

Select Case Command Case "/P" 'Do something Case "/S" 'Do something else End Select

etc...

-- Andy Miller (yes@yeadoninc.com), September 17, 1999.


Moderation questions? read the FAQ