Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run Command
Message
 
 
À
20/02/2004 09:58:49
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00879199
Message ID:
00879219
Vues:
16
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform