Cynosure.X International LLC

:

Add Comment | Related Links | TrackBack
Related Content

Unzip To Directory (GPL)

"Unzip To Directory.cmd" is Windows batch program that unzips all of the files in a ZIP archive and places them in a folder that is titled the same as the ZIP archive. It save you the time of creating a new folder, renaming the folder, and then copy the files from the ZIP archive to the folder. It's a one step drag-and-drop operation with "Unzip To Directory.cmd".

"Unzip To Directory.cmd" takes advantage of the following batch files. They are also available on this web site. So to use "Unzip To Directory.cmd", you'll have to download these other batch scripts, if you don't already have them.

basename.bat
dirname.bat
GetTempPathName.bat
SetNumberOfArguments.bat
SetVariableToOutput.bat
StrLen.cmd

You will also need an command-line unzip utility in your path in order for this batch file to work. You can get a free command-line unzip utility from Info-ZIP (see link in the "Related Links" section below).

"Unzip To Directory.cmd" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. If you make changes to this batch file, please feel free to upload it back here to share it with others.

Usage

"Unzip To Directory.cmd" "zip file path"

Attached File: Unzip To Directory.cmd (662 B)

Chieh Cheng
Tue, 27 Apr 2010 07:39:04 +0000

Found a bug in "Unzip To Directory.cmd". It doesn't take account of the ZIP file being unzipped on a different drive then where the script is being executed. This bug has been fixed in the new version attached below.

However, in addition to taking advantage of the scripts listed above, it now also needs one additional script:

DriveName.cmd

Attached File: 1 - Unzip To Directory.cmd (780 B)

Chieh Cheng
Sun, 06 Mar 2011 05:02:43 +0000

Today, I found that "Unzip To Directory.cmd" fails when operating on a Windows network drive. So I modified it to work. Attached is the new version of the script. This version doesn't need the "DriveName.cmd" script mentioned above.

Attached File: 2 - Unzip To Directory.cmd (933 B)

Chieh Cheng
Sun, 29 May 2011 06:15:35 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Related Links

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 5 - 5?
Click button only once, please!

TrackBack

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

Hacking Digital Cameras
Fun for Photographers


Amazon Associate

Copyright © 1996 - 2017. All Rights Reserved.