using ansi.sys in a *.bat file



Say I wanted to run a *.bat file that made use of ANSI codes. To do
this, ansi.sys would have to be included, which, as I understand it,
can only be included when a DOS or a Win16 program is ran. Isn't this
what distinguishes a *.cmd file from a *.bat file? I was under the
impression that *.cmd files ran as 32-bit programs and *.bat files ran
as 16-bit programs. If so, it seems like ansi.sys should indeed be
usable in a *.bat file.

Any ideas?

.



Relevant Pages

  • Re: How to stop XP dos window closing
    ... | is a shotcut to a bat file of a cmd file in which a netstat commands is ... One click on a shortcut and the window opens and runs the netstat ...
    (microsoft.public.windowsxp.basics)
  • is there a way to figure windows language version in bat file?
    ... In my bat or cmd file I need to figure wich language version of windows xp my bat file is run on and based on this make an appropreate choice. ...
    (microsoft.public.windowsxp.general)
  • Re: How to stop XP dos window closing
    ... is a shotcut to a bat file of a cmd file in which a netstat commands is ... One click on a shortcut and the window opens and runs the netstat ...
    (microsoft.public.windowsxp.basics)
  • Re: using ansi.sys in a *.bat file
    ... can only be included when a DOS or a Win16 program is ran. ... what distinguishes a *.cmd file from a *.bat file? ...
    (microsoft.public.windowsxp.help_and_support)