Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Directory questions
Message
From
18/11/1998 10:15:59
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158502
Message ID:
00158765
Views:
16
>>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?
>
>FULLPATH(CURDIR()) is the start directory for the application if no SET DEFAULT or CD statement has been executed.
>
>cAppDir = FULLPATH(SYS16,0))
>cAppDir =LEFT(cAppDir,RAT('\',cAppDir)-1)
>
>is the location of the top-level executable file.
>
>>
>>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?
>
>Yes = wrap them in quotes, or store them in a variable and use name expansion:
>
>CD "C:\This is a\Very silly dirname"
>
>cMyDir = "\\MyServername\SomeShare\a silly\sub-dir"
>CD (cMyDir)
>

Ok, thanks!

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform