Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DEFAULT vs. PATH
Message
 
À
31/01/2001 13:02:12
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00470654
Message ID:
00470813
Vues:
31
>As you mention this... This would be "my" choice if I can choose how I want to set the directories...
>
>X:\ABC\LIVE\ this would be for the executables (via, ABC.EXE)
>
>X:\ABC\DATA\ this would be for the databases/tables
>
>X:\ABC\VFP\LIVE\ this would be for my test executables
>
>X:\ABC\VFP\DATA\ this would be for my sample data
>
>X:\ABC\VFP\CODE\ this would be for my programming directory
>
>That way, I can hardcode "everything" as "..\DATA\&alias()". If I have to do some report (fisal year or whatever) or there's some data error, I just copy *.* from DATA to VFP\DATA. Does that sound about right for us as VFP programmer? Of course, I do not have that choice here, but thats what I did (or something close to that, it's been a while) before this position. With this way, if the directories need to be moved or anything, all it takes it to move the "ABC" directory, everything elses follows (one click-and-drag). THAT is how I got the habit of using SET DEFAULT TO...
>
>>SET PATH TO ..\DATA; ..\GRAPHICS, ..\OUTPUT

FYI, VFP 6.0 includes CD (change directory), which I can type faster than SET DEFAULT TO ... It also supports UNC (Universal Naming Convention, I think), which can help if you have problems with desktops using different drive letters for network shares. So you could CD \\MYSERVER\SHARED_RESOURCE\ABC\DATA. You may know all of this already, but it looks like you might have been coming from FoxPro 2.6.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform