Page 1 of 1

No window on black hole copy (not really an addon )

Posted: March 29th, 2012, 6:55 am
by phoenixxl
On windows , while cleaning up my computer today I had a sudden burst of annoyance at the fact that clicking on a nzb file to copy it to my watch folder on another computer opens - although only for a fraction of a second - a command window.

I've removed these things for the purpouse of running psexec scripts with nircmd to turn off remote monitors and other various tasks , so I decided to polish it for my sabnzbd setup.

I thought I'd share :)

Take this as a basis : http://wiki.sabnzbd.org/howto-associate

But add this in the mix : http://www.commandline.co.uk/chp/

The only thing you need to do is download chp.exe , put it somewhere , in this case "C:\Users\Someone\Documents\Utils\chp.exe"

and change this line in step 2 from

ftype NZBFile="d:\bin\nzb-copy.cmd" "%1"

to

ftype NZBFile= "C:\Users\Someone\Documents\Utils\chp.exe" "d:\bin\nzb-copy.cmd" "%1"

PS: Windows malicious software removal will cry about that thing since it could potentially be used to run batches in the background ::) , if you're worried there's sources for it on the page , you can compile it yourself .

Hope this helps alleviate someone's ocd :P