Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can i extract iso using winrar commandline? 1

Status
Not open for further replies.

cossma

IS-IT--Management
Jul 19, 2011
4
US
I'm trying to write a script to extract the contents of an ISO using winrar
However I get an error message "not an rar archive" I know you can extract an ISO through the GUI but when i use the command 'unrar e (ISO- path) ' I get that error

Thanks
 
I saw this example in the linked post, it means nothing to me but maybe you can look at it.


Code:
@echo off
@CLS
set startdir=F:\RAR
set isodir=F:\ISOs
setlocal enabledelayedexpansion
@ECHO UNRARer v 0.1
@ECHO (c)2009 Supagusti
@ECHO starting in directory: %startdir%
FOR /F "delims=;" %%G IN ('"dir "%startdir%\*.RAR" /S /B"') DO unrar e "%%G" *.ISO %isodir%
@ECHO finished!



Winrar command line path extraction



Windows 7 - Unrar.exe Command line .Iso extract
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top