Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WSH Run command with space in file path
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00356898
Message ID:
00356904
Views:
13
Guess what I did two seconds after posting the message? Added quotes - loShell.Run('"'+lcFileName+'"', 1, .T.) - works perfect.

>Nigel,
>
>I think it may be that you have to add quotes. (i.e. lcFileName = CHR(34) + lcfilename + CHR(34)). It's a WAG 'cause I haven't tried it.:-)
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform