Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spaces in folder names and EXE name - Any problems?
Message
From
03/08/2010 12:57:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01475004
Message ID:
01475011
Views:
61
There're always ways to breake it :)
lcExeName = "c:\my stuff\my cool application.exe"
RUN &lcExeName
It'll work as long as there're no spaces in the path or file name.
Another example
lcDIR = "c:\my stuff"

* Macro substitution will  error out
CD &lcDir

* Name Expression will work
CD (lcDir)
>A co-worker and I are having another debate about whether or not to use spaces in folder names and EXE names.
>
>I worked at Microsoft in the VFP group and we fixed all problems related to long file names and folder names and spaces back in either VFP5 or VFP6. I was there.
>
>For example:
>
>"c:\my stuff\my cool application.exe"
>
>Is there anything wrong with that?
>
>Will it ever not work? Or will it always work because VFP was Windows certified and it has to work?
>
>Thanks in advance.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform