Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run (filename with spaces) ?
Message
From
24/02/2003 00:50:36
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00756665
Message ID:
00756857
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform