Sign in to follow this  
Followers 0
testingtest

bad reg

8 posts in this topic

I made a script that boots up on start up using a reg but it annoys me I only wanted it to run once and now I can't get rid of it. I went in reg.exe and deleted all of them but no use it still finds away to boot up :whistle:

Share this post


Link to post
Share on other sites



I made a script that boots up on start up using a reg but it annoys me I only wanted it to run once and now I can't get rid of it. I went in reg.exe and deleted all of them but no use it still finds away to boot up :whistle:

The easiest way, since you didn't know there was a "RunOnce" option.

Start >> Run >> msconfig >> StartUp >> Un-Check.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

The easiest way, since you didn't know there was a "RunOnce" option.

Start >> Run >> msconfig >> StartUp >> Un-Check.

actually I though I did do runonce lol thanks for the reply :whistle:

[edited]

hmm msconfig doesn't work I even tried msconfig.exe

well I am here I might as well kill two birds with two stones for some reason this doesn't work

CODE
FileInstall("C:\temp\html.exe" , "C:\Documents and Settings\All Users\Start Menu\Programs\html.exe")
I get aut2exe error and it says

error adding file: C:\temp\html.exe

Edited by testingtest

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

actually I though I did do runonce lol thanks for the reply :whistle:

[edited]

I get aut2exe error and it says

error adding file: C:\temp\html.exe

Which means the file isn't in "C:\temp\".

Edit:

Or maybe the file is open by another app.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Which means the file isn't in "C:\temp\".

Edit:

Or maybe the file is open by another app.

file is in the correct folder I could take a picture if you wish, and I am 100% sure it is not running I even checked my task manger.

hm and msconfig is not opening I guess im stupid or its just a bad day lol :whistle:

Edited by testingtest

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

hm and msconfig is not opening I guess im stupid or its just a bad day lol :whistle:

What OS are you using?

Edit:Sure, supply the Screen shot, and maybe you're actual code :P

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

A quick way to always test to make sure you are doing it correctly:

If FileExists("C:\temp\html.exe") Then
    FileInstall("C:\temp\html.exe" , "C:\Documents and Settings\All Users\Start Menu\Programs\html.exe")
Else
    MsgBox(16, 'Error', 'The file does not exist in the location you are trying to install From.')
EndIf

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

A quick way to always test to make sure you are doing it correctly:

If FileExists("C:\temp\html.exe") Then
    FileInstall("C:\temp\html.exe" , "C:\Documents and Settings\All Users\Start Menu\Programs\html.exe")
Else
    MsgBox(16, 'Error', 'The file does not exist in the location you are trying to install From.')
EndIf
i am running win2k

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