xbill
Content Type
Profiles
Forums
Events
Posts posted by xbill
-
-
ok now this is weird. It worked great for me when I posted it, tested it multiple times on two different machines. Now I can't get it to work.
That is weird. Try logging out and logging back in, or even rebooting.
0 -
But if all you want to do is copy files out of the ZIP file use the copy command.
copy <myzip>\*.* <mydest>
where <myzip> is the name of the zip file without the extension and <mydest> is the location you wish the files extracted to.
don't add the extension:
C:\copy foo.zip\*.* myfoo
should be
C:\copy foo\*.* myfoo
Yeah, I had tried that, too. No luck.
I can type foo.zip by itself - it opens in the explorer window of course.
Are you sure you don't have some virtual folder extension installed? Or perhaps a cmd.exe replacement that has native zip support?
I thought that there might be a command line switch for cmd that would enable zip support, but I haven't found any.
Thanks for the fast reply.
0 -
Opens zip file in explorer window:
rundll32 zipfldr.dll,RouteTheCall <FileName>
Repairs registry for SendTo Compressed folder context menu:
rundll32 zipfldr.dll,RegisterSendto
But zipfldr.dll is not used for compressing or uncompressing files natively in XP.
Shell32.dll is what is accessed when sending to a compressed folder or using the "extract all" context menu.
But if all you want to do is copy files out of the ZIP file use the copy command.
copy <myzip>\*.* <mydest>
where <myzip> is the name of the zip file without the extension and <mydest> is the location you wish the files extracted to.
I think that just leaves creating a compressed folder using XP's built in capabilities.
You must have some special extensions installed that allow the COPY command to work with zip folders.
I've tried the copy command on XP Pro and Server 2003 R2 and it does not work.
I created a zipped folder called foo.zip and put some files in it
Next, I created a normal folder called myfoo.
C:\copy foo.zip\*.* myfoo
The system cannot find the path specified.
I'm trying to use a batch script to unzip files as well.
I guess I'll just have to download and include a free unzip command line util. It seems odd that there's no way to do this natively within XP/Server 2003.
0
Question For Batch Unzipping
in Programming (C++, Delphi, VB/VBS, CMD/batch, etc.)
Posted
I wonder if re-registering the zipfldr.dll or some other dll broke it.
Do you have other zip utils installed?
Thanks for your efforts. I hope you get it to work again.