Autoexec.bat not running.....

We upgraded a windows 98 pc to windows xp.  Now the OS is not running the autoexec.bat file.  Any ideas?  

Thanks!
QuetysisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ComputronCommented:
What part is not running ? Is it an enviroment variable ?

You can add one like this
Control Panel -> System
Click on the 'Advanced' tab.
Click 'Environment Variables'
Find 'Path' in the list of System Variables and click 'Edit.'
0
MiguelSilvestreCommented:
Hi Quetysis,

Autoexec.bat aren't used at all in Windows XP and higher.
Miguel
0
QuetysisAuthor Commented:
It appears as if the OS is not running the autoexec.bat file at boot.  I ran a test by putting a echo and redirect to a text file.  When I run the bat file manually the text file is created, when I delete the file and reboot, the file is never created.  I am trying to avoid the environment variable option for now, but will use as a last resort.
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

ComputronCommented:
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
To clarify MiguelSilvestre's comment, Autoexec.bat is not used in NT-based Windows operating systems, including Windows NT 3.1, 3.5, 3.51, 4.0, Windows 2000, 2003, and XP.

There is Autoexec.NT and CONFIG.NT in the C:\Windows\system32 folder, but they are ONLY used when you open a command prompt and not when Windows boots.

If you explain what your autoexec.bat file did, we might be able to help you get the same results.

One possibility, add a login script to your user accounts - that will act like it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QuetysisAuthor Commented:
My autoexec.bat file was adding some directories to the system's path.  If I really need to use an environment variable I will but I thought I would see if anyone had any other ideas.  Anymore input would be appreciated, otherwise,  I think I'll go with the env var.
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
I would recommend reviewing this:
http://vlaurie.com/computers2/Articles/environment.htm

You could specify the path adjustments in AUTOEXEC.NT, but they would only apply to command prompts, when opened.  

Your best bet is to use a login script to modify the path environment variable.  The article I provide above discusses using SETX and the registry to do this.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.