Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch code to Unzip files
Name: kk949 Date: June 3, 2005 at 02:44:04 Pacific OS: Windows XP pro CPU/Ram: 2.8GHz 512MB
Comment:
Hi Everone,
I had a zip file on a CD locked with a password (i know the password). I wanted to create a batch file that will verify password and extract the zip file onto c:\ drive. Since the CD is going to be distributed amongst windows 2000, xp users, i am not sure if for e.g. all will have pkunzip, etc.
Name: Mechanix2Go Date: June 3, 2005 at 04:08:30 Pacific
Reply:
Hi KK,
If the user does not have PZUNZIP, he'll be hard pressed to run it.
Sounds like you'll need to include it on the CD.
So if the CD drive is R:
r:\pkUNzip -d r:\test c:\ -sabc
where test is the ZIP and abc is the password.
HTH
0
Response Number 2
Name: jefro Date: June 3, 2005 at 14:46:52 Pacific
Reply:
You need to remake the zip into a self extacting zip file.
Seems like xp pro should support many .zip formats.
0
Response Number 3
Name: kk949 Date: June 5, 2005 at 05:37:38 Pacific
Reply:
Thanks a lot for your responses.
HTH, i tried putting in the statement onto my code replacing the letters with drive name, etc but in command prompt it gave me the error saying that
c:\pkunzip is not recognised as an internal or external comand, operable program or batch file.
i tried searching for pkunzip on my computer but did not find anything. would that explain things?? one of the older forums said that windows xp dos editor is not a real dos editor??!! so maybe pkunzip is not supported.
to be honest i am pretty new to using batch files so might be doing something really stupid.
0
Response Number 4
Name: kk949 Date: June 5, 2005 at 05:44:28 Pacific
Reply:
forgot to add,
jefro, how do i remake the zip file onto a self extracting file. do i need to get a specific software for it or the batch code would automatically do it for me??
Summary: Hi, i want to rename all the files in my directory by stripping out the first 3 chars of the file. My files are of the type C:\01 file1.jpg C:\02 file2.jpg I want to change them to C:\file1.jpg C:\fi...
Summary: Hi All, I have to extract a . Zip file from a share drive(\\ABC) which has the below structure throuh a batch script. .Zip file => inside this .Zip file I will have a folder by name ABC => inside this...