Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory questions
Message
 
 
À
18/11/1998 06:12:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00158502
Message ID:
00158765
Vues:
18
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform