Home »
Digital Archaeology »
Computer Arcana »
Commodore »
Amiga »
A Win2k+ Batch File to Compress .ADF to .ADZ Using 7-Zip
A Win2k+ Batch File to Compress .ADF to .ADZ Using 7-Zip [message #274678] |
Tue, 02 December 2014 09:23 |
Harry Potter
Messages: 1304 Registered: March 2012
Karma: 0
|
Senior Member |
|
|
If you have 7-Zip and ever need to compress an Amiga disk image to .ADZ format, I have a batch file for you:
----------------------
@echo off
::This file uses 7-Zip to compress a document (although it could be any type of
::file) to .gz format. If the file has an .ADF extention (Amiga disk image), it
::will replace the extention with .ADZ.
::
::The original file is kept intact.
::If you want to add this to the Win32 context menu, try Fast Explorer 2008
::on freewarefiles.com.
::You may need to change thge path in the following line:
"c:\program files (x86)\7-zip\7z.exe" a "%~1.gz" %1 -tgzip -mx=9
if "%~x1"==".adf" ren "%~nx1.gz" "%~n1.adz"
echo "%~n1.gz"
pause
----------------
That's it for now. If you like it, please tell me.
|
|
|
Goto Forum:
Current Time: Fri Apr 19 14:33:53 EDT 2024
Total time taken to generate the page: 0.06898 seconds