S
sean_walsh
Guest
Hi
I have a zip file that is encrypted with a tricky password, which I
need to extract from a .bat file.
The password is: -33,33_(}33"33*33=33|33^%33
So I try this line in a .bat file:
"c:\program files\winzip\wzunzip.exe" -o -s-33,33_(}33"33*33=33|33^%33
MYZIP.zip C:\MYZIP\
This hits a problem because of the double-quote in the password.
"ERROR - missing closing quote on argument"
This also doesn't work:
-s"-33,33_(}33""33*33=33|33^%33"
I believe the ^ char is an escape character for DOS Command Line
arguments, but that doesn't work. I tried to simplify this by changing
the password temporarily to 33"33 and using the following arguments:
-s33^"33
-s"33^"33"
No luck. If I try this:
-s"33""33"
It DOES actually get passed, but it comes back with "Skipping xxxx -
the password is incorrect", even though if I use winzip through the
interface, it works.
Any ideas?
I have a zip file that is encrypted with a tricky password, which I
need to extract from a .bat file.
The password is: -33,33_(}33"33*33=33|33^%33
So I try this line in a .bat file:
"c:\program files\winzip\wzunzip.exe" -o -s-33,33_(}33"33*33=33|33^%33
MYZIP.zip C:\MYZIP\
This hits a problem because of the double-quote in the password.
"ERROR - missing closing quote on argument"
This also doesn't work:
-s"-33,33_(}33""33*33=33|33^%33"
I believe the ^ char is an escape character for DOS Command Line
arguments, but that doesn't work. I tried to simplify this by changing
the password temporarily to 33"33 and using the following arguments:
-s33^"33
-s"33^"33"
No luck. If I try this:
-s"33""33"
It DOES actually get passed, but it comes back with "Skipping xxxx -
the password is incorrect", even though if I use winzip through the
interface, it works.
Any ideas?