Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming Dir
Message
From
23/05/2001 10:10:33
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgia, United States
 
 
To
22/05/2001 12:52:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00509442
Message ID:
00510338
Views:
18
>>Of course you could get fancier and check for the existence of the directories rather than just renaming them.
>>
>Can that be done from the batch level? Might help trap some user errors..ie clicking on the batch file while the ap is running.
>
>
>CG

It's been a long time since I did any significant batch file work, but I seem to remember a way to test for files and directories. Something like EXISTS.

You might consider writing this program as a small VFP app. It could be two programs or one that is called with a pararmeter to identify which of the actual programs is to be run. The VFP "director" program could test to see if either of the actual programs were running (you can find ways to do that in the downloads section of the UT) change the directories and the run the actual program. I've done this sort of thing and it works well.
David.
Previous
Reply
Map
View

Click here to load this message in the networking platform