testingtest Posted March 5, 2007 Share Posted March 5, 2007 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 5, 2007 Moderators Share Posted March 5, 2007 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 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 More sharing options...
testingtest Posted March 5, 2007 Author Share Posted March 5, 2007 (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 [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 CODEFileInstall("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 March 5, 2007 by testingtest Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 5, 2007 Moderators Share Posted March 5, 2007 (edited) actually I though I did do runonce lol thanks for the reply [edited] I get aut2exe error and it says error adding file: C:\temp\html.exeWhich means the file isn't in "C:\temp\". Edit: Or maybe the file is open by another app. Edited March 5, 2007 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 More sharing options...
testingtest Posted March 5, 2007 Author Share Posted March 5, 2007 (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 Edited March 5, 2007 by testingtest Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 5, 2007 Moderators Share Posted March 5, 2007 (edited) hm and msconfig is not opening I guess im stupid or its just a bad day lol What OS are you using?Edit:Sure, supply the Screen shot, and maybe you're actual code Edited March 5, 2007 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 More sharing options...
Moderators SmOke_N Posted March 5, 2007 Moderators Share Posted March 5, 2007 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 More sharing options...
testingtest Posted March 5, 2007 Author Share Posted March 5, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now