Jump to content

xbill

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by xbill

  1. 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.

  2. 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.

×
×
  • Create New...