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

Got a program that plays well with SABnzbd? Share it here!
Post Reply
phoenixxl
Newbie
Newbie
Posts: 11
Joined: March 29th, 2012, 6:33 am

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

Post 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
Post Reply