A Digital Age Deserves A Digital Leader

Windows 7 Still has Autoexec.bat

Windows 7 Still has Autoexec.bat

Postby Ztrl » Sat Aug 08, 2009 12:45 pm

Some of you may recall that I discovered this in Vista. And, well...here it is again.

sysedit from the run dialog box...

Image


Again I ask, WHY!?
All these years women have had slogans to confuse us. When a woman says "no" she means no. When a man says "yes" it means he pobably hasn't understood the question.


Intel Atom N270
Intel 945 Integrated Chipset
2GB RAM
160GB HD
Windows 7 Ultimate
PRO Level 3
User avatar
Posts: 81
Joined: Mon Jun 19, 2006 5:29 pm
Location: US

Re: Windows 7 Sill has Autoexec.bat

Postby JabbaPapa » Sat Aug 08, 2009 12:52 pm

It is one of a very short list of DOS-derived files that are absolutely central to Windows.
Image
PRO VETERAN
User avatar
Posts: 9536
Joined: Sun Feb 22, 2004 5:17 pm
Location: Monte-Carlo
Real Name: Julian Lord

Re: Windows 7 Sill has Autoexec.bat

Postby Ztrl » Sat Aug 08, 2009 2:01 pm

So you're saying without it Windows wouldn't work?
All these years women have had slogans to confuse us. When a woman says "no" she means no. When a man says "yes" it means he pobably hasn't understood the question.


Intel Atom N270
Intel 945 Integrated Chipset
2GB RAM
160GB HD
Windows 7 Ultimate
PRO Level 3
User avatar
Posts: 81
Joined: Mon Jun 19, 2006 5:29 pm
Location: US

Re: Windows 7 Sill has Autoexec.bat

Postby JabbaPapa » Sat Aug 08, 2009 2:42 pm

Ztrl wrote:So you're saying without it Windows wouldn't work?


Y I think that's the gist of it, I mean DOS > WinDOS > Windows ... These core files are so deeply embedded in the codebase, they would likely be quite nightmarish to expurgate. Well, I guess they could get rid of it -- but what for ?

autoexec.bat is btw also used to ensure compatibility with legacy applications.

Anyway, you can still use autoexec.bat to execute scripts at boot AFAIK -- although iirc the last time I've done this myself was during the Longhorn pre-beta period to speed up Longhorn 4074 on my rig, and Longhorn 4xxx was founded on the Windows Server 2003 codebase...
Image
PRO VETERAN
User avatar
Posts: 9536
Joined: Sun Feb 22, 2004 5:17 pm
Location: Monte-Carlo
Real Name: Julian Lord

Re: Windows 7 Sill has Autoexec.bat

Postby Ztrl » Sat Aug 08, 2009 3:06 pm

My biggest complaint is how old it is. And all of the old vulnerabilities it had...
All these years women have had slogans to confuse us. When a woman says "no" she means no. When a man says "yes" it means he pobably hasn't understood the question.


Intel Atom N270
Intel 945 Integrated Chipset
2GB RAM
160GB HD
Windows 7 Ultimate
PRO Level 3
User avatar
Posts: 81
Joined: Mon Jun 19, 2006 5:29 pm
Location: US

Re: Windows 7 Sill has Autoexec.bat

Postby JabbaPapa » Sat Aug 08, 2009 7:17 pm

Ztrl wrote:My biggest complaint is how old it is. And all of the old vulnerabilities it had...


DOS is no longer a part of either Vista or W7, and any old command protocols that are included in any autoexec.bat will be interpreted by PowerShell instead -- just as the old boot.ini files are used during boot by the Vista/W7 BCD store instead of by the DOS/9x/Me/NT/XP boot environment.

Old code, new language ;)
Image
PRO VETERAN
User avatar
Posts: 9536
Joined: Sun Feb 22, 2004 5:17 pm
Location: Monte-Carlo
Real Name: Julian Lord

Re: Windows 7 Still has Autoexec.bat

Postby Ztrl » Sun Aug 09, 2009 5:31 am

At least they seem to be moving in the right direction.
All these years women have had slogans to confuse us. When a woman says "no" she means no. When a man says "yes" it means he pobably hasn't understood the question.


Intel Atom N270
Intel 945 Integrated Chipset
2GB RAM
160GB HD
Windows 7 Ultimate
PRO Level 3
User avatar
Posts: 81
Joined: Mon Jun 19, 2006 5:29 pm
Location: US

Return to General Windows Support

Who is online

Users browsing this forum: No registered users and 2 guests