Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a FORM & closing MSDOS WINDOW
Message
 
 
À
05/12/2003 10:15:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00856152
Message ID:
00856527
Vues:
25
I spoke too soon! The folowing BATCH file works OK in WIN98 but does not work in WINXP.

************
: backup.bat
: dele files on floppy
echo Y|del a:\*.*

: zip data and sys files
pkzip.exe -& a:\tp.zip *.dbf *.fpt *.cdx *.sys

**************
Batch file, pkzip.exe and data files all reside in same directory.

The first command (delete the files) runs OK.

I did have to put in a delay of 30 seconds to prevent VFP from executing
the next commands after I execute the 'RUN /N backup.bat'. This enabled the batch file to RUN OK in WIN95 and 98 but it fails in WINXP.

The second command fails after PKZIP (fails to run the parameters) and shows the PKZIP help screen.

Any ideas?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform