Jump to content

Execute on Windows Startup


Vegar
 Share

Recommended Posts

This is a way: FAQ Q4.

Thats for a service. He just wants to run it every startup.

Q11.

Q11. How can I make my script start every time windows starts?

A1. You can use one of the following codes to allow your script to start with windows:

AutoItRegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "MyProgramName", "REG_SZ", @ScriptFullPath)

or

AutoItFileCreateShortcut(@ScriptFullPath, @StartupCommonDir & "\MyProgramName.lnk")
Edited by Alienware
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...