Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a FORM & closing MSDOS WINDOW
Message
De
08/12/2003 17:11:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00856152
Message ID:
00856978
Vues:
19
What happens in XP if you manually type the exact same pkzip command line in a MSDOS window? Does it work then? Have you tried Winzip instead?


>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?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform