My first guess would be the command function.

The Commmand function returns the commandline arguments, your program was started with, so try that.