DOSPARAM() Retrieves the DOS command line as a string ------------------------------------------------------------------------------ Syntax DOSPARAM() --> cDOSCommandLine Returns DOSPARAM() returns the parameters from the DOS command line. Description DOSPARAM() returns all the parameters passed from the DOS command when you run the application. Use DOSPARAM() when you do not want the parameters to be separated. With this function, it is no longer necessary to check each individual parameter in a loop. Note . With the TOKEN() function, it is easy to break down the returned character string. It can also use your own rules. Example Given the DOS command line C>MyApp A: C: /a , the following is true: DOSPARAM() // "A: C: /a" TOKEN(DOSPARAM()) // "A" This way, it is easy to break down parameter lines according to your own rules.
See Also: TOKEN()