WinZip deletes empty folders

  • Thread starter Thread starter allan.martin
  • Start date Start date
A

allan.martin

Hi,

I am using winzip command line to automatically zip the only file in a
folder into a new location. I need the unzipped file to be deleted.

I am using the following syntax.

wzzip -m (moves) -ex (full compression) "c:\file\file.zip"
"c:\other\file.txt"

This process works in that it zips the file and moves it to c:\file but
it then deletes the folder c:\other which I don't want. If I leave a
file in the folder, eg leaveme.txt, then it does not delete the folder.

Any ideas?

Thanks very much,

Al
 
Hello

Considered the (moves) that you inserted into your command line? Maybe something to the effect (copy) will leave the original in place.

Bye
 
Hi,

I am using winzip command line to automatically zip the only file in a
folder into a new location. I need the unzipped file to be deleted.

I am using the following syntax.

wzzip -m (moves) -ex (full compression) "c:\file\file.zip"
"c:\other\file.txt"

This process works in that it zips the file and moves it to c:\file
but it then deletes the folder c:\other which I don't want. If I
leave a file in the folder, eg leaveme.txt, then it does not delete
the folder.

Any ideas?

Thanks very much,

Al

Yes: RTFM or Help, or go to the web site and read.
 
Back
Top