extassociation ParamString property
Return to Introduction  Previous page  Next page
Applies to
acExtAssociation component.  

property ParamString: String;  

The ParamString property determines and specifies the command-line parameters which should be transmitted to an executable file, when user starts any file, associated with this executable.  
For example, you have installed the new file extension and would like to transmit to executable the name of data-file which starts your program. You must specify the "%1" parameter to the ParamString property, then, in the executable, catch the first command line parameter using ParamStr(1) routine. See FormCreate method in the sample code.  
iiinfo To modify the ParamString value, make sure that AccessMode is amReadWrite.  

See also
ExecutableFile property and example of usage.