Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to set up multiple directory paths without hard cod
Message
From
03/02/1997 09:25:35
Paul Wei
Fib, State of Michigan
Lansing, Michigan, United States
 
 
To
31/01/1997 09:30:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00018953
Message ID:
00019121
Views:
37
>Hello,
>
>I need to set up multiple directory paths because one of the tables is located on another networked computer. I have mapped the directory to the users computer and when the path to this table is hardcoded, the connection is complete.
>
>In my initial set up Prg. I set the paths and directory to all tables and forms etc. which were located in one parent directory.
>
> >Set default to \poetstats
> >Set Path to tables1, forms, prg, etc.......
>
>Now that I moved a large table to another network computer I cannot set another path for it without interferring with the other path. So the only way I can reach the drive is to hard code it.
>
> >H:\storstat\.....
>
>Since this means I would have to go through my entire program to modify, Is there a single place I can set up all my paths???
>
>
>
>Thanks,
>
>Michael
>michael@bridge.net

Are you talking about having access to two or more additional directories besides the default directory?

If so, the SET PATH command will allow you to do it. You can name as many directories as you wish in the SET PATH command just by seperating the directories with semicolons like the example below:

set path to c:\direct1;c:\direct2;h:\direct3

Paul
Previous
Reply
Map
View

Click here to load this message in the networking platform