Question About Running a Series of Command Line Projects

Ahmed Abbasi
10/27/2011 10:26 pm
Hi,

I was trying to run a series of command line projects from a bat file. The problem is, instead of running them sequentially one after another (which is what I would like to do), Offline Explorer seems to try and run them all concurrently.

Here is what I am doing, an example of two of the lines from the bat file:

"C:\Program Files (x86)\Offline Explorer Pro\oe.exe" "/new=url=http://www.cnn.com,template=WebTemp,folder=C:\download,run=true,/Channels=30,/DownloadsDelay=1,/TimeOut=10"

"C:\Program Files (x86)\Offline Explorer Pro\oe.exe" "/new=url=http://www.espn.com,template=WebTemp,folder=C:\download,run=true,/Channels=30,/DownloadsDelay=1,/TimeOut=10"

Should I add the /CloseNoCountdown? It seems that all that does is close OEPro once any one of the projects is completed.

Should I not create a new project for each one?

Any help would be greatly appreciated!
Oleg Chernavin
10/28/2011 05:02 am
I tested such .bat file and /CloseNoCountdown will really work. As I see, the bat file should wait for OE.exe to complete and exit before executing the next line.

Best regards,
Oleg Chernavin
MP Staff
Ahmed Abbasi
10/28/2011 02:17 pm
Oleg - Thanks for the prompt response! However, perhaps I'm just not formulating my commands properly, but I still run into the same issue. I tried the following:

"C:\Program Files (x86)\Offline Explorer Pro\oe.exe" "/new=url=http://www.espn.com,template=MedWeb,folder=C:\download,run=true,/Channels=30,/DownloadsDelay=1,/TimeOut=10,/CloseNoCountdown"

"C:\Program Files (x86)\Offline Explorer Pro\oe.exe" "/new=url=http://www.cnn.com,template=MedWeb,folder=C:\download,run=true,/Channels=30,/DownloadsDelay=1,/TimeOut=10,/CloseNoCountdown"

I also tried putting "/CloseNoCountdown" before the "/new" and also right after the "run=true" to no avail. Is it a template issue or perhaps I need to put the "/CloseNoCountdown" elsewhere?
Oleg Chernavin
10/29/2011 02:55 pm
Yes, the parameters should be separated:

"C:\Program Files (x86)\Offline Explorer Pro\oe.exe" "/new=url=http://www.espn.com,template=MedWeb,folder=C:\download,run=true" /Channels=30 /DownloadsDelay=1 /TimeOut=10 /CloseNoCountdown

Oleg.