Command Interpreter Ansi Support

If you want ansi support for Windows NT, Windows 2000 or Windows XP, you need to load the ansi.sys driver when the command.com shell interpreter loads. The best approach is to create a new shortcut for command.com such that the ansi.sys driver is available when it opens.

Create config file %systemroot%\system32\ansi.nt and include the following config commands:

dosonly
device=%systemroot%\system32\ansi.sys
device=%SystemRoot%\system32\himem.sys
files=40
dos=high,umb

  • Create a shortcut to command.com on the desktop
  • Right-click the shortcut
  • Select Programs tab
  • For NT : click the Windows NT button
    For Windows 2000 / Windows XP: click the Advanced button
  • Change the Config filename: from the default config file, %systemroot%\system32\config.nt to %systemroot%\system32\ansi.nt
Any DOS applications you run in this command shell will now have ANSI support.

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?