Solved how to edit autoexec.bat in windows 7

March 14, 2011 at 07:04:47
Specs: Windows XP
I want to edit the autoexec.bat file in window 7 to allow a dos program to run.

See More: how to edit autoexec.bat in windows 7

Report •

March 14, 2011 at 07:31:20
Autoexec.bat is still in the same place, in c:\ - you need to go into Folder options and unhide 'protected operating system files', then if you right-click the file you even get an 'edit' option. Having said all that, it doesn't work in quite the same way as Autoexec.bat in early versions of Windows, so prepare to be disappointed if what you change doesn't work.

"I've always been mad, I know I've been mad, like the most of us..." Pink Floyd

Report •

March 14, 2011 at 08:27:46
✔ Best Answer
The autoexec.bat file in Windows 7, and the entire NT line for that matter, does very little. In most cases nothing at all. In XP it was scanned to see if it contained any environment variables but I don't know if that is the case in Windows 7.

The primary purpose of autoexec.bat in Windows 7, when it exists, is to keep old DOS programs happy that would fail if it does not exist.

I believe that the autoexec.nt file in the windows\system folder will do what you want.
Of course that depends on what you are trying to do.

Do be aware that command line programs and DOS programs are NOT one and the same.

Report •
Related Solutions

Ask Question