Get Command Line Parms

By | 2002-06-01

This Will Return The Command Line Options That Your Program Was Run With EX if a person used a command line to run yourapp.exe /option then mycommandline would return /option
PLUS IT’S ONLY 1 Line Of Code

Original Author: Adam Jacob Muller

Returns

The Command Line Option

Side Effects

None To Date

Code

MyCommandLine = Trim(UCase(Command()))

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.