|
|
|
|
![]() ![]() |
Apr 17 2005, 11:33 PM
Post
#1
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 629 Joined: 26-February 05 Member No.: 3,995 |
How can I get stuff to automatically happen with XP Pro? I tried putting stuff in AUTOEXEC.BAT, but it didn't happen. Is there some environment variable that I can edit or something I have to change to get AUTOEXEC to work, or is there another file that would have the same effect? Also, is there something like that for shutting the computer down--that will automatically do/stop stuff on shutdown?
|
|
|
|
Apr 17 2005, 11:47 PM
Post
#2
|
|
|
Moderator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 2,325 Joined: 8-March 05 From: Mawson, Antarctica Member No.: 4,254 |
Hmm, doesn't stuff automatically stop when you're shutting down your computer? I mean, ultimately, they will shutdown anyway, right?
I know a way to make your autoexec.bat run when you first start your computer if you're interested: Open your registry editor -> My Computer -> HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Current Version -> Run -> Right click on right pane -> New -> String Value -> Type "autoexec" -> Right click on "autoexec" -> Modify -> Type "c:\autoexec.bat" |
|
|
|
Apr 17 2005, 11:48 PM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 125 Joined: 8-April 05 From: Ontario, Canada Member No.: 5,386 |
I think the Autoexec.bat is an old reminant of DOS in winXP. If you want to change startup settings and such try START>>RUN then type msconfig.
That will give you all the windows start up options I know about. WARNING! Be careful what you change here it could cause you some serious grief! If you don't know what it is then don't change it! |
|
|
|
Apr 18 2005, 12:10 AM
Post
#4
|
|
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 377 Joined: 28-December 04 From: USA Member No.: 2,992 |
You can setup batch files there is an example here that is for shutting down XP.
http://www.trap17.com/forums/index.php?sho...8&hl=shut++down Nils |
|
|
|
Apr 18 2005, 12:30 AM
Post
#5
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 629 Joined: 26-February 05 Member No.: 3,995 |
I meant for the shutdown to automatically end something, but it makes sense that it'd do it when shutting down no matter what >_>
As for the autoexec, we'll see tomorrow if it worked--I'm too lazy to try it now. |
|
|
|
Apr 18 2005, 05:48 PM
Post
#6
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 245 Joined: 3-March 05 Member No.: 4,125 |
messing with the XP boot can get nasty, if u slip on one thing it can fritz your boot.
maybe it's just paranoia |
|
|
|
Apr 18 2005, 08:12 PM
Post
#7
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 661 Joined: 18-April 05 Member No.: 5,852 |
I don't try to mess around with this kind of stuff. I've gotten my computer fixed far too many times. If you can fix your own computer or know someone who will for free try it I guess if you are experienced with this kind of stuff, if not its far too risky. If you decide to go ahead please remember the risks.
|
|
|
|
Apr 20 2005, 09:55 PM
Post
#8
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 19 Joined: 14-April 05 Member No.: 5,677 |
AUTOEXEC.BAT is a remnant of DOS. If it exists on your XP machine, it is probably because you upgraded from an older version of Windows. With Windows 9x (ME included) and older, excluding NT versions (4, 2000, and XP), DOS was the lowest level OS. NT versions directly access the system, which is why command prompts run slowly (they run on top of Windows). The best way to do this in my opinion is to either use the Startup folder (user level) or use the Registry method (system level) mentioned above. But if you mess up your registry, you are doomed to a long and painful death....well, not really, but you get the point.
|
|
|
|
Apr 20 2005, 10:06 PM
Post
#9
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 629 Joined: 26-February 05 Member No.: 3,995 |
Ahh, DOS, back in the good old days. So what if I was like 4 when died, I still used it anyway, I'm just that h4rdc0r3. The registry method worked, thanks for that snlildude87. And I don't really worry about my computer pwning itself, I'm pretty good about it and my neighbor is like this tech support guy at a big company.
|
|
|
|