View Issue Details

IDProjectCategoryView StatusLast Update
0002008JEDI VCL00 JVCL Componentspublic2004-08-24 10:17
ReporteranonymousAssigned Toremkobonte 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
Product Version 
Target VersionFixed in Version 
Summary0002008: tjvcreateprocess don't transmit correctly commandeline
DescriptionWith windows long file name if there is a space the command line is not transmis correctly.
Ex: commande line : 'p:\develop D7\diapo\fleurs000.jpg /S'
The application ceated by the process receive :
'D7\diapo\fleurs000.jpg/S'
The applicationname with the same type of file name is well transmited by the process
TagsNo tags attached.

Activities

obones

2004-07-28 09:41

administrator   ~0004848

You should enclose the path with a space in quotes:

"p:\develop D7\diapo\fleurs000.jpg" /S

remkobonte

2004-07-28 12:06

developer   ~0004849

This is also in the help file (which quotes MSDN):

TJvCreateProcess.CommandLine:
[..]
If ApplicationName is empty, then the first white-space – delimited token of
the command line specifies the module name. 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.

Issue History

Date Modified Username Field Change
2004-07-28 08:27 anonymous New Issue
2004-07-28 09:41 obones Note Added: 0004848
2004-07-28 12:06 remkobonte Note Added: 0004849
2004-08-24 10:17 remkobonte Status new => resolved
2004-08-24 10:17 remkobonte Resolution open => no change required
2004-08-24 10:17 remkobonte Assigned To => remkobonte