Jump to content

"Run program" in background


SonofonoS

Recommended Posts

Hi

I'm trying to run the following command when a torrents has finished downloading.

"c:\program files\winrar\unrar.exe" x "%D\*.r*" "%D\%N"

It's working great but I have one problem. When a torrent is finished a console-window opens to display the unraring progress. Since its my nas/htpc thats doing the work it happens once in a while when I'm watching a movie or something. Since the unraring progress is not really a spectators game, I would love if I was able to run that unrar-command in the background without the console window popping up. Does anyone know if that is possible?

SonofonoS

Link to comment
Share on other sites

Thanks alot.

I just learned a new thing today. Winrar.exe can also be run as a command line program. :)

So adding -ibck and switching unrar.exe with winrar.exe did the job. So now my run command is as follows:

"c:\program files\winrar\winrar.exe" x -ibck -ad "%D\*.r*" "%D"

It unrars all .r* files to the subfolder with the rar-archive name. And it does it all in the background and doesn't disturb my movie watching. :)

Now I just have to figure out those archives thats named .part* maybe just remove the 'r' in the "%D\*.r*" part so it just tried to unrar everything in that folder. Couldn't hurt to try. :)

SonofonoS

Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...