Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory questions
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158502
Message ID:
00158553
Views:
15
Michelle,

Use sys(16) to find where the EXE was launched from. CURDIR() will be affected by the Start In Directory that is assigned to the shortcut to the exe.

You can put folder names inside () to have CD, RD, MD see the spaces:

x = "c:\program files\devstudio"
cd (x)


>Is the dir that the executable was started from automatically the default dir if there's no config.fpw?
>
>If not, is there a way to determine what dir the exe was started from?
>
>Can you set the properties found in config.fpw, such as setting the temp file dir from within the app rather than the config.fpw?
>
>Is there some way to get CD, MD, RD to work with dirs that have spaces in their names?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform