How to call windows scheduled task which named "dosome"

I have a scheduled windows task named "dosome", I wanna trigger and run it,
how to write the code in rust?
I searched a lat, such as windows-sys, But I am pretty new in this area, still don't know how to deal with it,
anyone can give me a simple demo , thanks so much.

I used schtasks to run the task, close this thread, thanks.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.