Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Command
Message
 
 
To
20/02/2004 09:58:49
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00879199
Message ID:
00879219
Views:
13
Steven,

put another set of quotes around the filename with spaces:

pdm_var.oProcess.Run("C:\ccdraft\bin\ccplot.exe -rk 'C:\docume~1\sde\locals~1\temp\pdm docs\tempjan.bat' ", 2,.T.)


>I am trying to use the WinScrip Run command but I am having trouble with my command parameter string having spaces in it.
>
>This works:
>pdm_var.oProcess.Run("C:\ccdraft\bin\ccplot.exe -rk C:\temp\tempjan.bat",2,.T.)
>
>This Doesn't:
>pdm_var.oProcess.Run("C:\ccdraft\bin\ccplot.exe -rk C:\docume~1\sde\locals~1\temp\pdm docs\tempjan.bat", 2,.T.)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform