Forum: UltraISO
Topic: Command Line Problem
started by: LeeJ

Posted by LeeJ on Mar. 24 2008,14:12
Hi, i tried searching the forum but couldn't find the answer. I'm trying to use UltraISO's command lines but I;ve not had any success.

Here are the commands I tried and the results:

First, I tried to list the contents of an image (IMG) file using the following command but it output an empty text file.

CODE
ultraiso -input "c:\subfolder\file.img" -list "c\subfolder\list.txt"


Next, I tried deleting a file from the image using the following command which I saw in a thread in this forum:

CODE
ultraiso -input "c:\subfolder\file.img" -rm "/folder/subfolder/subfolder/filename.exe"


When run, it asked for an output file which I put in, then all it did was output three files :

1. an IMG file (49kb) empty when opened with UltraISO
2. a SUB file (2kb)
3. a CCD file (1kb)

BTW, the image file was a ROM partition of a Windows Mobile PDA. UltraISO's GUI opens it without problems.

Many thanks in advance.

Lee

Posted by xoben on Mar. 24 2008,20:58
Please convert this .IMG file to standard .ISO image first and try it again.
Posted by LeeJ on Mar. 25 2008,10:47
Thanks for replying, Xoben.

I tried your suggestion but I get an Invalid File Format Error when trying to convert to Standard ISO.

Is this normal? Because UltraISO CAN open it and re-save it correctly even after I edit/modify its contents.

UltraISO is a very nice app and it would be very helpful to have it work via commandline. Thanks.

Posted by xoben on Mar. 26 2008,10:46
You can also try to 'Save As' an ISO instead of 'Convert'.