2008年2月11日 星期一

All IFS applications supports Command Line Parameters

All applications created with the IFS/Client framework supports a number of optional command line parameters. These parameters may be specified when starting an application.

Command-line parameters can be specified in three different ways:

  • Start the application from a command prompt (using the start command) and specify parameters
  • Start the application with the run command in the start menu and specify parameters
  • Create a shortcut and specify the application with all parameters in the target field.

All parameters have the general form =. If multiple parameters are specified they should be separated with a space character.

Example:
c:\>start D:\IFS2004_SP5_runtime\Admin.exe DATABASE=LGPROD USER=IFSAPP PASSWORD=IFSAPP