Jump to content

Automatically Run Script on Windows Start


Recommended Posts

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.

 

Skysnake

Why is the snake in the sky?

Link to comment
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."

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...