Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Using Autoexec With Windows Xp Professional?


14 replies to this topic

#1 beeseven

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 629 posts

Posted 17 April 2005 - 11:33 PM

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?

#2 snlildude87

    Moderator

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,325 posts
  • Location:Mawson, Antarctica

Posted 17 April 2005 - 11:47 PM

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"

:o

#3 zippy77

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 125 posts
  • Location:Ontario, Canada

Posted 17 April 2005 - 11:48 PM

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!

#4 NilsC

    Administrator

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 377 posts
  • Location:USA

Posted 18 April 2005 - 12:10 AM

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

#5 beeseven

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 629 posts

Posted 18 April 2005 - 12:30 AM

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.

#6 Styx

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 245 posts

Posted 18 April 2005 - 05:48 PM

messing with the XP boot can get nasty, if u slip on one thing it can fritz your boot.
maybe it's just paranoia :o , but i've gotten the BSOD one too many times.

#7 wariorpk

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 661 posts

Posted 18 April 2005 - 08:12 PM

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.

#8 ywlke

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 19 posts

Posted 20 April 2005 - 09:55 PM

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.

#9 beeseven

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 629 posts

Posted 20 April 2005 - 10:06 PM

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.

#10 BuffaloHelp

    Sterling Archer

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,088 posts
  • Gender:Male
  • myCENT:50.18

Posted 24 April 2005 - 03:40 AM

I'm not clear on what you are trying to do, but if you want certain programs to run as soon as you start your computer and go into the GIU phase:

Simply place a shortcut in your startup folder. Right?

You can drag a shortcut, place it over the START, ALL PROGRAMS, STARTUP.

You may reconfigure the shortcut by right click, properties, and tell it to start in maximum or minimum sized window, etc.

Good luck.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users