I am trying to schedule a task on Windows, and unfortunately it does not work! The task is created, but not correctly.
When I look through the task parameters, it says:
PROGRAM: C:\Program
ARGUMENTS: Files(x86)\AppName\executable.exe
This is how I continue:
[Run]
Filename: "schtasks.exe"; Parameters: "/create /tn TaskName /sc MINUTE /mo 10 /tr ""{app}\{#MyAppExeName}""";
And I do not know why this does not work, double quotes should fix the problem of "spaces"
Any ideas?
source
share