How do I get ANSI support on the command line?

A. To get ANSI support, perform the following steps:

  1. Create a shortcut to command.com.
  2. Create a file called ansi.nt.
  3. Include the following lines in the ansi.nt file:
    dosonly
    device=%systemroot%\system32\ansi.sys
    device=%SystemRoot%\system32\himem.sys
    files=40
    dos=high,umb
    
  4. Under Properties for the command.com shortcut, go to the Programs tab. In the Config Path field, enter the path to ansi.nt.
Now when you open the shortcut, any DOS applications you run will have ANSI support.
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish