Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run (filename with spaces) ?
Message
 
 
À
22/02/2003 22:25:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00756665
Message ID:
00756671
Vues:
17
Bill,

You have to get the quotes around the filename

run /n "C:\Program Files\Microsoft Visual FoxPro 8\vfp8.exe"

or

lcx = "C:\Program Files\Microsoft Visual FoxPro 8\vfp8.exe"
run /n "&lcx"


>How do I get VFP 7.0 to RUN a file that has spaces in the path.
>
>Neither of these work.
>lc = 'C:\Set Time\settime.bat'
>! &lc
>
>lc = ["C:\Set Time\settime.bat"]
>! &lc
>
>But this does
>lc = 'C:\SetTime\settime.bat'
>! &lc
>
>I'm trying to run an EXE that is in C:\Program Files\, so I can't rename the directory.
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