DonationCoder.com Software > Post New Requests Here
IDEA: zip all main sub-folders at once
jity2:
Wow! Thanks wr975! ;)
I have tried to study AHK help files, but I am pretty sure I wouldn't have been able to find your solution (I tought there was something to do with "Fileremovedir" http://www.autohotkey.com/docs/commands.htm
! Obviously this was not so easy!)
I am posting a summary of the full solution in my next message.
Thank you again ;)
Jity
jity2:
Here is a summary of the solution, thanks to wr975 ;) :
1/ Buy winrar (forget Winzip, Powerarchiver or PCAL...) (you can use the discount available here https://www.donationcoder.com/Reviews/Archive/ArchiveTools/index.html)
2/ Download and install Autohotkey (freeware http://www.autohotkey.com/), then you can double click the script
3/ Save the following code as "whatever.ahk" script file:
Code:
FileSelectFolder,SourcePath,,0,Select Source Folder
If SourcePath =
ExitApp
FileSelectFolder,TargetPath,*%SourcePath%,0,Select Target Folder
If TargetPath =
ExitApp
Loop,%SourcePath%\*.*,2,0
{
FolderSize = 0
Loop, %A_LoopFileFullPath%\*.*, , 1
FolderSize += %A_LoopFileSize%
If FolderSize >0
RunWait,c:\Program Files\WinRar\WinRar.exe a -r -ep1 -m3 "%TargetPath%\%A_LoopFileName%.zip" "%A_LoopFileFullPath%\*.*"
}
Note: -m5 = compression ratio (0 to 5). Change it to -m0 for no compression... -m3 standard compression... -m5 max compression
You can also add "-inul" after "-m3" if you don't want any error to be reported by winrar.
Thanks again to all helpers, your help was much appreciated as I was waiting for about 2 years for such a thing! ;)
See ya,
Jity
Navigation
[0] Message Index
[*] Previous page
Go to full version