Jump to content

Automatically Run Script on Windows Start

Recommended Posts

Every day, I have to open Autoit, run script, select script, enter.....every single day...

Is there a way that can do this for me automatically without me having to do anything?

Share this post

Link to post
Share on other sites

Not sure what your problem is.

Compile as an EXE, place it in the Startup folder and it will run on boot...

Put a Sleep() at the top, to avoid clashing with the actual boot procedure, so when the boot is complete, your script will run.

On Windows 8+ go press the Windows key+R then type shell:startup, it should open the Startup folder.



Why is the snake in the sky?

Share this post

Link to post
Share on other sites
FileCreateShortcut(@ScriptFullPath, @StartupDir &"\Script.lnk")


You can also use @StartupCommonDir......but in win7 or win8 @StartupDir is best because no need to run as Administrator......

Copy and past this line in your Script.....or put in to any au3 file code that you want run at windows startup {Every time you start your operating system this will automatically run your specific file}.....
......Tested in win7......
Edited by Starstar

Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."

Share this post

Link to post
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...