2 qBittorrent needs to be configured so it doesn't close to the system tray (options / behaviour / uncheck close qbittorrent to notification area)

3 you should put this in your shell:startup in an .ahk file:
Code: Select all
SetTimer, CheckDriveSpace, 120000 ;modify this number to a lower one if you have more than a 100 Mbit/s connection
CheckDriveSpace:
DriveSpaceFree, FreeSpace, c:\
If FreeSpace < 1000
{
RunWait, cmd /c taskkill /im qbit*
MsgBox, qBittorrent has been shut down automatically,`ncheck free space!
}
Else
Return
Return