Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming Dir
Message
De
23/05/2001 10:10:33
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
 
À
22/05/2001 12:52:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00509442
Message ID:
00510338
Vues:
19
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform