Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run (filename with spaces) ?
Message
De
24/02/2003 00:50:36
 
 
À
23/02/2003 10:40:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00756665
Message ID:
00756857
Vues:
21
Hi Glenn,
Finally got a simple one to run by doing:
lc = getfile()
run ["&lc"]
Now I need to include a parameter in lc:
lc = getfile()
------ option 1 -------
lc = lc + [ "] + lcParameter + ["]
run ["&lc"]     && doesn't work because there are ["]s in lc
run ['&lc']     && doesn't work either  

------ option 2 -------
lc = lc + [ '] + lcParameter + [']
run ["&lc"]     && doesn't work either

Any idea how I can accomplish this?
>Hi Bill,
>
>The run command itself requires the quoted string to pass the quotes to the command line therefore to execute this command try this:
>
>run ["c:\Set Time\settime.bat"]
>
>
>This will work every time.
>
>Glenn Domeracki
>
Bill Morris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform