I would like to use a .cmd file (or .bat) to run script on the epub (basically to push it to Content Server (linux). Normally I can drag the file on to the .bat file and it runs fine. But when I use Openwith feature (not the plugin), it does nothing.

How do you get the calibre Open With to use the .lnk file in shell:sendto to exec the bat file.

@nqk - I have a vague memory that something the Open With plugin can do, that the built-in Open With can't do, is execute .bat files - but I am by no means certain. Give it a try.

BR

Not sure about this but I have a vague memory the last time I tried opening a .bat/.cmd file with Open With, it spit out a error about cmdline not being defined. Could be an error on my part in configuring the entry and not important enough that I spent time trying to troubleshoot it. I think this broke around the time that v1.52 or 1.53 was released.