Contents - Index - Previous - Next


CmdLine property

 

Applies to

TSFXConfig component

 

Declaration

property CmdLine: string;

 

Description

The command line to execute after all files have been extracted. If the string "><" (greater than+less than) is somewhere in the command line, it will be replaced with the path where the archive has been extracted to.  

 

If the pipe "|" is in the command-line, the part to the left will get the application to run and the part to the right will be it's argument.  if the archive is extracted to e.g. "d:\unpack", then we will get the following :  

 

Command Line Will parse To:  

"><setup\setup.exe|><install.inf" run "d:\unpack\setup\setup.exe" with parameters  "d:\unpack\install.inf".  

"c:\windows\notepad.exe|><readme.txt" run "c:\windows\notepad.exe" with parameters  "d:\unpack\readme.txt".  

"><readme.txt" open "d:\unpack\readme.txt" with its associated program, if there is any.  

"><setup.exe"   run "d:\unpack\setup.exe" without special parameters.