Run external program save torrent name to file

Windows specific questions, problems.
Post Reply
martikainen

Run external program save torrent name to file

Post by martikainen »

Hi

I want to connect my qbit machine to my home automation system to get notifications and do certain stuff when a download is finished

My goal is to add use the "run external program" function and save Torrent name and other values available for the function into a txt or excel file, and then I can use my home automation system to watch this file for changes and execute my tasks.

Been trying to use the output function for cmd.exe, for example, "ipconfig /all > Z:\mynetworksettings.txt". But I can't figure out how to use the qbit function.

Something like this: "C:\Windows\System32\cmd.exe "%N", "%D" > Z:\downloads.txt"

Does anyone know how to format the command to get it to work? Been trying different versions of the above example without success.
Post Reply