Hi there
阳熙来,
Since I tried to do the same thing with you, and I've found that the below method works perfectly! Yon can do the following steps to set a task with task scheduler:
1. Press `Win` key.
2. Search `Task Scheduler` and open it.
3. Click `Create Task...`.
4. Navigate to the `General` tab.
5. Name your task within the `Name` field. e.g. LaunchOC
6. Select `Run only when user is logged on`.
7. Navigate to the `Triggers` tab.
8. Click `New` to add a trigger.
9. Click the dropdown menu of `Begin the task` and select `At log on`.
10. Select `Specific user`. (or `Any user` just depends on your needs)
11. Click `OK`
12. Navigate to `Action` tab.
13. Click `New` to add an action.
14. Click the dropdown menu of `Action` and select `Start a program`.
15. In the `Program/script` field, enter the full path of the `OneCommander.exe`. e.g. "C:\Program Files\OneCommander\OneCommander.exe"
16. In the `Add arguments` field, enter the command `-nowindow`. (not include backticks)
17. Click `OK`
18. Navigate to the `Conditions` tab.
19. Disable the `Start the task only if the computer is on AC power` (optional)
20. Click `OK` to finish the whole task settings.
And then now you can test it by rebooting your PC. Hope it helps!