Winzip Backup Batch File

 admin  
Winzip Backup Batch File Rating: 4,3/5 8027 reviews

Winzip is the world's leading zip utility for file compression, encryption, sharing, and backup. Save time and space, zip & unzip files quickly, and much more.

Hello there, first time posting here, in hopes someone can help resolve my frustration. I have a small batch file that I have I am using to zip a folder, then copy to a directory that is backed up nightly. However I am am not able to get the zip utility to create and add files to the zip file. I am using wzzip, with winzip version 10. According to the help file with wzzip, I should be able to add the '-a' option in the line to add files.

But this is also so assumed, so I have tried it both ways. But adding the option gives an error when the batch is ran. So this is my first clue. I also have added the wildcard.

Create Backup Batch File

at the end of the line according to the reference and it is not appending the file. Here is what I have written @echo off start /MIN 'c: program files winzip wzzip' c: backup ffbackup ffbackup.zip. start /MIN 'c: program files winzip wzzip' -a c: backup ffbackup ffbackup.zip. (causes an error in the batch if i leave this) xcopy /s /y /v c: backup ffbackup ffbackup.zip /i z: backup ffbackup for /f 'tokens=1-5 delims=/ '%%d in ('%date%') do rename 'z: backup ffbackup ffbackup.zip'%%e-%%f-%%g.zip end I am a rookie when it comes to writing the batch files, and also not too experience with wzzip. But I am able to get the files to copy and all the good jaz.any help would be appreciated! Well when I put the line in with he -a option it will give a message'cannot fine -a' that throws me because I was following the instructions from the help file and I started to suspect that it was not actually appending the zip file, because the properties did not show that the file had been changed. I added a test txt file in the directory that was supposed to be zipped, and the test file was not listed.

Yea its driving me crazy, I had perused the help section that came with wzzip for a couple of days before posting here. Thank you for your help!

Automatic Backup Batch File

Batch

I have a simple batch file as seen below that should extract a zip file to the root of E. The zip file is valid and I can run the batch file from the command line just fine. Instead of completing the task, it continues to inform me that the Status is 'Running'. The problem is, it is not running and the file never gets unzipped. The task is running as a Domain Admin that has been specifically added as an Admin on the box.

Are there any known problems with using zip files in Scheduled Tasks. I actually have this same problem on 3 out of the 12 boxes this task runs on, but there is no rhyme nor reason as to why some servers work, and others don't. Any ideas on how to debug what is going on, or a solution would be very helpful. Here is the batch file I'm attempting to run. SET RootPath=E: SET WinzipLocation=E: Program Files WinZip '%WinzipLocation% winzip32' -e -o%CD% TestZipFile.zip%RootPath%.

   Coments are closed