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?  

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.

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.'
Hi Quetysis,

Autoexec.bat aren't used at all in Windows XP and higher.
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.
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.

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.

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.
Lee W, MVPTechnology and Business Process AdvisorCommented:
I would recommend reviewing this:

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.
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.