Forum: UltraISO
Topic: UltraIso & Batch
started by: Ripper

Posted by Ripper on Apr. 15 2008,08:39
Hello everybody,


I'm downloading some (very large) movies from newsgroups and in order to read them with power DVD 8 I have to transform these movies file structure into ISO. The kind of movies I'm downloading is starting with a B and there is a Y at the end :-). Here is my folder structure :

Incoming Movies
          --> Movie1
               --> File1
               --> File2
               --> File3
               --> ...
          --> Movie2
               --> File1
               --> File2
               --> File3
               --> ...
          --> Movie3
               --> File1
               --> File2
               --> File3
               --> ...

And here is what I want :

Incoming Movies
       --> Movie1
            --> Movie1.iso
       --> Movie2
            --> Movie2.iso
       --> Movie3
            --> Movie3.iso
       --> Movie4
            --> Movie4.iso


I'm using newsleecher to download movies, and once all the files are downloaded (200*100Go for example), newsleecher
is extracting all datas and deleting all download archives.

I think about a process like this one to automate the task :

- Check the first subfolder in the folder "Incoming Movies" and check if there is a file bigger than 1Go (for example, size to be define) with an extension different from "ISO". If a file has an ISO extension it means that the process is already done in this folder. If a file is bigger than one Go it means that the extracting process of newsleecher is done and that the movie can be convert to an ISO.
- If a subfolder validate that point, it means that there is a movie ready to be transform in an ISO file
- Send a command line to UltraISO to create an ISO with the name of the subfolder
- Delete all the files in the subfolder, except the new ISO file, of course
- Go to the next subfolder and repeat the process

I'm thinking about a batch file to do that, but I'm not sure that it can do the job because of the "complexity" of the process.

Do you think that there is a way to do that ?

Thank you !

Posted by xoben on Apr. 15 2008,10:22
QUOTE
- Send a command line to UltraISO to create an ISO with the name of the subfolder


UltraISO -directory "C:\dir\subdir" -output "c:\dir\filename.iso"