Search found 3 matches

by knot22
08 Sep 2011 08:48
Forum: DOS Batch Forum
Topic: problem using Pkzip in a batch file
Replies: 2
Views: 4489

Re: problem using Pkzip in a batch file

Figured it out. The pkzip wouldn't work for two reasons: a) this computer uses zip.exe instead of pkzip.exe b) it was necessary to explicitly state the full file path for zip.exe The final batch file that worked looked like this: @echo off "C:\Program Files\DesktopAuthority\zip.exe" BOrepo...
by knot22
07 Sep 2011 11:15
Forum: DOS Batch Forum
Topic: problem using Pkzip in a batch file
Replies: 2
Views: 4489

Re: problem using Pkzip in a batch file

One additional fact that may be pertinent here... I searched C:\ for a file called pkzip.exe and it did not find one. Perhaps that's why it's not working? If that is the case, is there an alternative way to zip files from a .bat? Funny enough, when a file is right clicked there is a Send-to, Compres...
by knot22
07 Sep 2011 09:52
Forum: DOS Batch Forum
Topic: problem using Pkzip in a batch file
Replies: 2
Views: 4489

problem using Pkzip in a batch file

Hi, I am trying to write a batch file which takes all of the Excel files in a folder and zips them into a .zip file in that same folder. Here is the batch file code so far: ::@echo off Pkzip -m BOreportsInExcel.zip *.xls pause The code has a pause included so I can read what it's doing. ::@echo off ...