JVCL Help:TJvCreateProcess.ApplicationName

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines the module to execute.


Pascal

 propertyApplicationName: string;


Description

Set ApplicationName to a string to specify the module to execute.
The string can specify the full path and file name of the module to execute or it can specify a partial name. In the case of a partial name, TJvCreateProcess uses the current drive and current directory to complete the specification. TJvCreateProcess will not use the search path. If the file name does not contain an extension, .exe is assumed. Therefore, if the file name extension is .com, this parameter must include the .com extension.
The string specified by ApplicationName can be empty. In that case, the module name must be the first white space-delimited token in the string specified by CommandLine. If you are using a long file name that contains a space, use quoted strings to indicate where the file name ends and the arguments begin; otherwise, the file name is ambiguous. For example, consider the string 'c:program filessub dirprogram name'. This string can be interpreted in a number of ways. The system tries to interpret the possibilities in the following order:

  • 'c:program.exe' filessub dirprogram name
  • 'c:program filessub.exe' dirprogram name
  • 'c:program filessub dirprogram.exe' name
  • 'c:program filessub dirprogram name.exe'


See Also

TJvCreateProcess.CommandLine, TJvCreateProcess.Run


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page