Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a FORM & closing MSDOS WINDOW
Message
 
 
To
05/12/2003 10:15:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00856152
Message ID:
00856527
Views:
24
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform