kingprageeth Posted September 6, 2007 Posted September 6, 2007 (edited) I have written a bat file. I want to make it run at every times that windows startsup. I can do it by putting a shortcut in the startup folder. But i have heard that "autuexec.bat" file can be used for that. I added a line to call my program in the "autuexec.bat" file. But the program doesn't run at startup. When I double click the "autuexec.bat" file, the program runs. It means that my calling method is correct. Please help me. (If you at least know a different way to do my task please post a reply) Edited September 7, 2007 by kingprageeth
clavicle Posted September 6, 2007 Posted September 6, 2007 For windows xp, "autoexec.bat" is not called.Use the shortcut of the bat file directly in your startup folder (you can use right click on the start >All programs > startup >rightclick >openA folder will open, put the shortcut here or even the file can go there.
kingprageeth Posted September 6, 2007 Author Posted September 6, 2007 Thanx clavicle. Anybody know another way to run a program at startup of XP?
Legolash2o Posted September 6, 2007 Posted September 6, 2007 (edited) start > run > "regedit"HKEY_Curent_user\Software\Microsoft\Windows\CurrentVersion\Runadd a new string with a link to the program ie. "C:\program files\program\program.exe" or "C:\.....\example.bat" if you want to run a .bat file Edited September 6, 2007 by legolash2o
jaws75 Posted September 7, 2007 Posted September 7, 2007 (edited) Answered by legolash2o but....What does this have to do with vlite? Please post in the proper area next time. Edited September 7, 2007 by jaws75
kingprageeth Posted September 7, 2007 Author Posted September 7, 2007 Thanx and thanx my dear friend legolash2o. Your post is very interesting. Thanx again.... Can any body tell me how to use a java script or a VB script or a batch command to edit registry, to run a program at startup.Or anybody know a method to add a program to startup, different from legolash2o s method .
cworkman Posted September 17, 2007 Posted September 17, 2007 (edited) No any ideas? Please...You Could Put The File In The Startup Folder. Or Create a REG File With The Info In It!!! The Open Notepad add regedit /S NameOfYourFile.REG Save It As A Bat File!!!! To Create A REG File Open NotePad And Add Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]"Sidebar"="C:\\Program Files\\Windows Sidebar\\sidebar.exe""String Name"="Location Of File" Then Edit It To Suit Ur Needs Then Save It As .REGNote!!! Remember To Keep The \\ In The File Name \ Doesn't Work In The Registry Edited September 17, 2007 by cworkman
kingprageeth Posted September 19, 2007 Author Posted September 19, 2007 (edited) Hi my friend cworkman! thank you again and again for spending your time for helping me. Your answer was very useful for me. Your answer solved my problem. Please tell me how to clear the entered registry string again usin a REG file.Thanx friend... Edited September 19, 2007 by kingprageeth
Arie Posted September 19, 2007 Posted September 19, 2007 You need to do some research yourself. You can add a minus symbol in front of the string which you want to remove, or change the value of a key to a minus symbol which will remove the key. You can find out these things easily yourself by using Google.
shogo Posted September 19, 2007 Posted September 19, 2007 You should also take a look at the cmdlines.txt, it can be very helpful and start for example a bat-file with diffrent installation commands.
kingprageeth Posted September 21, 2007 Author Posted September 21, 2007 cworkman , please tel me how to cleared the registry entry again.
kingprageeth Posted October 3, 2007 Author Posted October 3, 2007 cworkman, you didn't help me. I will rename you as cporkman. Hi...Hi...H...."C_PORK_MAN=see PORK-MAN=see PIG MAN"
jamieo Posted October 6, 2007 Posted October 6, 2007 cworkman, you didn't help me. I will rename you as cporkman. Hi...Hi...H...."C_PORK_MAN=see PORK-MAN=see PIG MAN" I'm continually amazed how some people expect/demand that other internet users serve as their own personal servants with little regard to the fact that there are real individuals on the other side of their monitor taking time out of their own busy lives to offer help.I think this kind of attitude should be met with a ban before the whole internet becomes useless as the majority of users become selfish, demanding and thankless.kingprageeth (and I guess you really are a king as you certainly act that way!), I hope you don't require any further assistance - and if you do then I hope nobody is foolish enough to give it.Now, please feel free to take another two weeks to come up with some immature joke and a matching picture for me.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now