So when i use the following command in a CMD window warp-cli disconnect && taskkill -im "Cloudflare WARP.exe" && cd "C:\Program Files\Cloudflare\Cloudflare WARP" && "Cloudflare WARP.exe"
everything works as expected but when i use this in task scheduler like so:
Nothing happens.
Under the Add arguments
section I use the following command /k warp-cli disconnect && taskkill -im "Cloudflare WARP.exe" && cd "C:\Program Files\Cloudflare\Cloudflare WARP" && "Cloudflare WARP.exe"
any help would be appreciated
cloudflare.bat
file and fill it withwarp-cli disconnect && taskkill -im "Cloudflare WARP.exe" && cd "C:\Program Files\Cloudflare\Cloudflare WARP" && "Cloudflare WARP.exe"
and set the task scheduler to run that instead, does it work?.bat
file works but i would not prefer that./k
in double quotes./k "warp-cli disconnect && taskkill -im "Cloudflare WARP.exe" && cd "C:\Program Files\Cloudflare\Cloudflare WARP" && "Cloudflare WARP.exe""