DonationCoder.com Software > Post New Requests Here
IDEA: Why do unzip apps have to be so complicated?
jgpaiva:
I updated the script a bit (better handling for folders/subfolders with one file) + commented it.
-wr975 (September 28, 2006, 05:36 PM)
--- End quote ---
Good work! It looks perfect, I'll now look at the code and then add it to my context menu too ;)
I think that lanux128 raized a good point, maybe it could have a gui (that would only appear if some command line flag was activated) to be able to decompress the file to a place different from its current dir.
Other than that, i love it! :Thmbsup:
wr975:
New version.
If the program is started without parameter, a simple drag&drop GUI appears. The GUI allows to configure the "erase archive" option.
I also figured out the command line for 7zip (Freeware) + adjusted the script to accept it. See the configuration file for an example. Please note: Use the full version of 7zip (installer), not the command line.
I've tested it a lot + fixed some bugs. AHK's function to move folders seems a bit buggy (if the folder exists it won't overwrite, but moves in the existing folder). It's not serious and probably happens in test situations only.
Again, short instructions:
a.) download the attachment and extract it. (source included)
b.) open the .ini file in Notepad and configure path and decompressing parameters of your archiving utility.
c.) integrate the .exe file in your right-click menu (important: "%1") or in the toolbar of a file manager (like xplorer²) or drag archive files on it or just start it.
EDIT: Removed attachment. See post below.
mouser:
can i just make sure you guys when you say "erase archive" you are making sure the archive gets deleted to the recycle bin until you are REALLY sure everything is working as planned - i'd hate to see someone end up wiping their drive by using this incorrectly.. please make sure you are doing any checks possible to avoid mistakenly deleteing huge amounts because of user error.
wr975:
I updated the script a bit (better handling for folders/subfolders with one file) + commented it.
-wr975 (September 28, 2006, 05:36 PM)
--- End quote ---
Good work! It looks perfect, I'll now look at the code and then add it to my context menu too ;)
I think that lanux128 raized a good point, maybe it could have a gui (that would only appear if some command line flag was activated) to be able to decompress the file to a place different from its current dir.
Other than that, i love it! :Thmbsup:
-jgpaiva (September 29, 2006, 10:30 AM)
--- End quote ---
Thanks for the nice feedback. I just trial and error my way into a working script. :)
About your suggestion. The original idea was hands-free extracting. Just drag & drop or right-click and it's done. Selecting a different target folder doesn't feel right somehow. It'd be faster to double-click the archive, select 'extract all' and select the target folder... Anyway, just IMO.
Feel free to change the script + add this feature (that is, if you can read into my strange source). :D
wr975:
can i just make sure you guys when you say "erase archive" you are making sure the archive gets deleted to the recycle bin until you are REALLY sure everything is working as planned - i'd hate to see someone end up wiping their drive by using this incorrectly.. please make sure you are doing any checks possible to avoid mistakenly deleteing huge amounts because of user error.
-mouser (September 29, 2006, 03:02 PM)
--- End quote ---
Older versions deleted the files. My bad. The current version puts them in the RecycleBin.
Three conditions must be valid to make the script recycle a file. Someone would need to rewrite the script so it'd wipe a drive...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version