Extracten ISO- en IMG-files
Posted: January 18th, 2010, 1:58 pm
Because my Orb-application (for videostreaming from my pc to iphone) doesn't recognise ISO's and IMG's, I had to extract the files before I was able to watch it.
Therefor I have come up a simple bat-script. The only requirement is the application MagicIso. I know this isn't a free app, but it is a start. When you know a free app, which is able to extract ISO and IMG files through commandline, reply on this post....than I will start scripting.
Remark: Change to drive and directory to the installed location of MagIso (default: c:\program files\magico iso\)
Remark: %1 is the variable giving by sabnzbd, which points to the final directory of the job (full path).
Extract ISO-file
set LocationIso=%1\
set TargetUnpack=%1\
FOR /R %LocationIso% %%G IN (*.iso) DO set Iso=%%G
D:
cd "D:\Program Files\MagicIso\"
FOR /R %LocationIso% %%G IN (*.iso) DO miso.exe "%%G" -x %TargetUnpack%
Extract IMG-File
set LocationIso=%1\
set TargetUnpack=%1\
FOR /R %LocationIso% %%G IN (*.img) DO set Iso=%%G
D:
cd "D:\Program Files\MagicIso\"
FOR /R %LocationIso% %%G IN (*.img) DO miso.exe "%%G" -x %TargetUnpack%
Vertel mij jullie ervaringen....
Therefor I have come up a simple bat-script. The only requirement is the application MagicIso. I know this isn't a free app, but it is a start. When you know a free app, which is able to extract ISO and IMG files through commandline, reply on this post....than I will start scripting.
Remark: Change to drive and directory to the installed location of MagIso (default: c:\program files\magico iso\)
Remark: %1 is the variable giving by sabnzbd, which points to the final directory of the job (full path).
Extract ISO-file
set LocationIso=%1\
set TargetUnpack=%1\
FOR /R %LocationIso% %%G IN (*.iso) DO set Iso=%%G
D:
cd "D:\Program Files\MagicIso\"
FOR /R %LocationIso% %%G IN (*.iso) DO miso.exe "%%G" -x %TargetUnpack%
Extract IMG-File
set LocationIso=%1\
set TargetUnpack=%1\
FOR /R %LocationIso% %%G IN (*.img) DO set Iso=%%G
D:
cd "D:\Program Files\MagicIso\"
FOR /R %LocationIso% %%G IN (*.img) DO miso.exe "%%G" -x %TargetUnpack%
Vertel mij jullie ervaringen....