Where is the autoexec.bat file in Windows XP?
- Thread starter Clausius2
- Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
10 replies · 3K views
Discussion
Physics news on Phys.org
- 1,902
- 3
I always thought autoexec.bat was in C:\
From what I've read on the internet, windows xp doesn't use autoexec.bat anymore, but you can still create it if you want to.
From what I've read on the internet, windows xp doesn't use autoexec.bat anymore, but you can still create it if you want to.
- 1,902
- 3
You could always try cygwin to automate scripts:
http://www.cygwin.com/
And Merry Christmas to you too
http://www.cygwin.com/
And Merry Christmas to you too
Last edited by a moderator:
master_coda
- 591
- 0
What do you need autoexec to do? If all you need to do is run a program at startup or set environment variables, that can be done without it.
Science Advisor
Gold Member
- 1,433
- 7
master_coda said:What do you need autoexec to do? If all you need to do is run a program at startup or set environment variables, that can be done without it.
Well, I don't know well what I have to do. I have a meshing tool called Gambit. It only works under MSDOS, so I have to make a modification (as a friend told me) writting in Autoexec:
"set PATH=%PATH%;c:\fluent.inc\ntbin\ntx86"
to help it to be boosted.
Where can I make this modification if not in Autoexec?
Science Advisor
Homework Helper
- 1,583
- 0
Select ->Start->Control Panel->System
Pick the advanced tab in System and click the environment variables button.
Select "path" in the variables window and click edit.
Add your stuff to the end.
Be careful not to mess with the rest of the path or things might stop working.
Note: The DOS compatibility box is poor in win 2000. Much worse than win NT.
XP may be even worse, so your stuff may not run anyway.
I boot to win 98 for a lot of old programs, but a lot of the newer hardware simply will not support the old DOS calls, so now I keep an old machine as well.
Pick the advanced tab in System and click the environment variables button.
Select "path" in the variables window and click edit.
Add your stuff to the end.
Be careful not to mess with the rest of the path or things might stop working.
Note: The DOS compatibility box is poor in win 2000. Much worse than win NT.
XP may be even worse, so your stuff may not run anyway.
I boot to win 98 for a lot of old programs, but a lot of the newer hardware simply will not support the old DOS calls, so now I keep an old machine as well.
Science Advisor
Gold Member
- 1,433
- 7
NoTime said:Select ->Start->Control Panel->System
Pick the advanced tab in System and click the environment variables button.
Select "path" in the variables window and click edit.
Add your stuff to the end.
Be careful not to mess with the rest of the path or things might stop working.
Note: The DOS compatibility box is poor in win 2000. Much worse than win NT.
XP may be even worse, so your stuff may not run anyway.
I boot to win 98 for a lot of old programs, but a lot of the newer hardware simply will not support the old DOS calls, so now I keep an old machine as well.
It doesn't work. Thanks anyway.
TenaliRaman
- 637
- 1
simply make bat file using notepad,
1>Open Notepad
2>type in the file : set PATH=%PATH%;c:\fluent.inc\ntbin\ntx86
3> in the next line : type the complete path to your application exe file
e.g if gambit.exe is in c:\gambit folder then type
C:\gambit\gambit
4> save the file as <blah>.bat (the name could be anything u want but the extension should be bat)
5> you can run your program now by double clicking this bat file.
this bat file will execute your program as well as set the path initially.
However sometimes if your environment variable size is exceeding limits, the path variable may not be set. In which case u will have to increase it. Thats done by
1> right click on the bat file
2> click properties
3> click the memory tab
4> open the initial environment roll-out
5> choose the max value that should be 4096
6> ok it
Now your environment variables will be set.
-- AI
P.S -> If u want more details regards this, post back and i will explain a bit more
1>Open Notepad
2>type in the file : set PATH=%PATH%;c:\fluent.inc\ntbin\ntx86
3> in the next line : type the complete path to your application exe file
e.g if gambit.exe is in c:\gambit folder then type
C:\gambit\gambit
4> save the file as <blah>.bat (the name could be anything u want but the extension should be bat)
5> you can run your program now by double clicking this bat file.
this bat file will execute your program as well as set the path initially.
However sometimes if your environment variable size is exceeding limits, the path variable may not be set. In which case u will have to increase it. Thats done by
1> right click on the bat file
2> click properties
3> click the memory tab
4> open the initial environment roll-out
5> choose the max value that should be 4096
6> ok it
Now your environment variables will be set.
-- AI
P.S -> If u want more details regards this, post back and i will explain a bit more
Mentor
- 23,899
- 11,354
There is a decent chance the program can't run on XP. Try www.bootdisk.com and booting to a dos floppy (and running the program off a disk).Clausius2 said:It doesn't work. Thanks anyway.
Similar threads
Is editing Host file in windows 7 is dangerous?
- Benjamin_harsh
- · Replies 7 ·
- Computing and Technology
- Replies
- 7
How to Read a GZ File on Windows XP
- matematikawan
- · Replies 5 ·
- Computing and Technology
- Replies
- 5
How to Unzip an ACE File in Windows XP
- bomba923
- · Replies 8 ·
- Computing and Technology
- Replies
- 8
Where is the boot.ini file in windows xp home
- exequor
- · Replies 4 ·
- Computing and Technology
- Replies
- 4
How Can I Format an HP Laptop with Windows XP if It Has a Virus?
- Sirsh
- · Replies 1 ·
- Computing and Technology
- Replies
- 1
Recovering an overwritten video file on Windows
- Tom McCurdy
- · Replies 2 ·
- Computing and Technology
- Replies
- 2
Installing Windows XP on my MAC (Finally)
- Saladsamurai
- · Replies 6 ·
- Computing and Technology
- Replies
- 6
Why Can't My Windows XP Desktop Access Shared Folders on Ubuntu 10.04?
- minger
- · Replies 2 ·
- Computing and Technology
- Replies
- 2
How do I install KDE when I'm running Windows XP?
- taylrl3
- · Replies 1 ·
- Computing and Technology
- Replies
- 1
Defragging my hard drive on my windows XP laptop?
- The_Absolute
- · Replies 13 ·
- Computing and Technology
- Replies
- 13
