gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
can i reate a task with schtasks in a different folder
- User
can i reate a task with schtasks in a different folder
- Assistant
Yes, you can create a task with
schtasksin a different folder by specifying the path to the folder in the command. For example, to create a task named "MyTask" in a folder named "MyFolder" on the C: drive, you can use the following command:schtasks /create /tn MyTask /tr "C:\path\to\my\executable.exe" /sc daily /st 09:00 /ru username /rp password /f /ru username /rp password /f /tn "\MyFolder\MyTask"This will create the task named "MyTask" in the folder "MyFolder" on the C: drive. Make sure to replace "C:\path\to\my\executable.exe" with the actual path to your executable file, and "username" and "password" with the appropriate credentials.