Jump to content

How to Schedule script to Run Automatically Windows starts


Recommended Posts

Hi, I'm not professional autoit coder. I need to create a task. My software need to run when each computer starts and every day(Using task scheduler) I looked here 

 But I do not understand how the edit code in my request. My file path tempdir/clean.exe

Also, Sorry my english not good. Thanks

Link to comment
Share on other sites

  • Developers


Please do not bump your own threads within 24 hours.
Remember this is not a 24/7 support forum - those who answer are only here because they like helping others and have some time to spare.  You just have to wait until someone who knows something about your particular problem, and is willing to help, comes online.


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
Live for the present,
Dream of the future,
Learn from the past.

Link to comment
Share on other sites


create a scheduled task and configure it manually just the way you want it. then export it to XML.

when you install your software, deploy that XML file and call schtasks.exe to create a task based on it.

see this topic for example:


Signature - my forum contributions:



LFN - support for long file names (over 260 characters)

InputImpose - impose valid characters in an input control

TimeConvert - convert UTC to/from local time and/or reformat the string representation

AMF - accept multiple files from Windows Explorer context menu

DateDuration -  literal description of the difference between given dates


Touch - set the "modified" timestamp of a file to current time

Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes

SPDiff - Single-Pane Text Diff


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...