General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only