Sign in to follow this  
Followers 0
demonsc

AutoIt at StartUp

10 posts in this topic

What is the line of code i need to make an AutoIt Program i'm making always start at startup..

I thought it would be something like this

DirCopy(@AppDataDir,@StartupDir)

Share this post


Link to post
Share on other sites



Thanks for QuickReply!

Share this post


Link to post
Share on other sites

your welcome :)


http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D

Share this post


Link to post
Share on other sites

Now if i want to remove from start up it would be??

DirRemove(whats the rest?)

Share this post


Link to post
Share on other sites

Now if i want to remove from start up it would be??

DirRemove(whats the rest?)

maybe Im new here

Share this post


Link to post
Share on other sites

I'd do it this way:

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname", "REG_SZ",@Scriptfullpath)

to remove it:

Regdelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname")

Share this post


Link to post
Share on other sites

I'd do it this way:

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname", "REG_SZ",@Scriptfullpath)

to remove it:

Regdelete("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "MyScriptname")

Pro :)

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
Sign in to follow this  
Followers 0