https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/102054&feed=atom&action=history
Microsoft KB Archive/102054 - Revision history
2024-03-28T17:30:09Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/102054&diff=46886&oldid=prev
3155ffGd: importing KB archive
2020-07-18T15:02:36Z
<p>importing KB archive</p>
<p><b>New page</b></p><div><div id="nsbanner"><br />
<br />
<div id="bannerrow1"><br />
<br />
{|<br />
| Knowledge Base<br />
|<br />
|}<br />
<br />
<br />
</div><br />
<div id="TitleRow"><br />
<br />
= <span id="KB102054"></span>How to Prevent Windows NT from Appending the MS-DOS Path =<br />
<br />
<br />
</div><br />
<br />
</div><br />
<div id="nstext" valign="BOTTOM"><br />
<br />
Article ID: 102054<br />
<br />
Article Last Modified on 11/1/2006<br />
<br />
<br />
-----<br />
<br />
APPLIES TO<br /><br />
<br /><br />
<br />
* Microsoft Windows NT Advanced Server 3.1<br />
* Microsoft Windows NT Workstation 3.1<br />
<br />
<br />
-----<br />
<br />
<div class="notice_section"><br />
<br />
This article was previously published under Q102054<br />
<br />
</div><br />
<div class="summary_section"><br />
<br />
== SUMMARY ==<br />
<br />
On a system using NT Flexboot to boot both MS-DOS and Windows NT, Windows NT appends the path setting found in the AUTOEXEC.BAT file to the default command environment. This is done so that you can run MS-DOS-based applications that are currently installed on your system without modifying Windows NT.<br /><br />
<br /><br />
If the you do not want the MS-DOS path appended to the default Windows NT environment, do the following:<br /><br />
<br /><br />
<br />
<ol><br />
<li>Create a batch file (for example, DOSPATH.BAT) with the PATH statement from your AUTOEXEC.BAT file.</li><br />
<li>Remove the PATH statement from AUTOEXEC.BAT.</li><br />
<li>Use the CALL command to call the other batch file. For example:<br />
<div class="indent"><br />
<br />
<p><span class="kbd userinput"> call c:\dospath.bat </span></p><br />
<br />
</div></li></ol><br />
<br />
When you boot Windows NT, it does not find a PATH statement in your AUTOEXEC.BAT file. However, when you boot MS-DOS, the AUTOEXEC.BAT file runs DOSPATH.BAT and sets your path.<br />
<br />
</div><br />
<br /><br />
<br />
Additional query words: prodnt<br />
<br />
Keywords: kbenv KB102054<br />
<br />
<div class="footer"><br />
<br />
<br /><br />
<br />
<br />
-----<br />
<br />
[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]<br />
<br />
<span>© Microsoft Corporation. All rights reserved.</span><br />
<br />
<br />
</div><br />
<br />
</div></div>
3155ffGd