Jump to content

bad reg


Recommended Posts

  • Moderators

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.

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Moderators

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

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.

Link to comment
Share on other sites

  • Moderators

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

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.

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