Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution
Message
From
19/10/2007 16:11:58
 
 
To
19/10/2007 16:04:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01262275
Message ID:
01262278
Views:
17
>A call like the following will work"
>
>!mspaint "c:\program files\dir\filename"
>
>But a call like this will not because of the space between Program and Files.
>
>cFile = "c:\program files\dir\filename"
>! mspaint &cFile
>
>
>Is there a way to overcome this so the file can be sent via a variable?
>
>Thanks
What about
cFile = '"c:\program files\dir\filename"'
! mspaint &cFile
Previous
Reply
Map
View

Click here to load this message in the networking platform