Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to use ANSI.SYS in Windows 7

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 23-12-2010
Member
 
Join Date: Oct 2010
Posts: 61
How to use ANSI.SYS in Windows 7
  

I am running a Windows 7 operating system on my machine and this machine has some DOS based programs out of which some programs uses the ANSI.SYS. Although windows 7 has this, using it in the classical way would be much better. device=<path>\ansi.sys in CONFIG.SYS does not help. I just want to know that which file gets replaced with the CONFIG.SYS in Windows 7?

Reply With Quote
  #2  
Old 23-12-2010
Member
 
Join Date: Nov 2009
Posts: 749
Re: How to use ANSI.SYS in Windows 7

CONFIG.SYS commands responsible for specific programs in memory and manage the operation of your equipment. For the most part, they are only used in the CONFIG.SYS file, with the exception of break commands, replace and set, you can also include in the AUTOEXEC.BAT file or type in the MS-DOS. Typically, the CONFIG.SYS file contains only some of these commands.
Reply With Quote
  #3  
Old 23-12-2010
mv mv is offline
Member
 
Join Date: May 2008
Posts: 681
Re: How to use ANSI.SYS in Windows 7

ANSI.SYS is capable to be loaded and utilized from the DOS command prompt, with the limitation that it can run simply in the context of the sub-system MS-DOS. Windows NT is not supporting ANSI escape sequences in Win32 Console applications. In order to load ANSI.SYS, you have to add "device = c: \ winnt \ system32 \ ansi.sys" in the Config.nt file from the System32 directory of Windows NT.
Reply With Quote
  #4  
Old 23-12-2010
Member
 
Join Date: Nov 2009
Posts: 1,035
Re: How to use ANSI.SYS in Windows 7

One time ANSI.SYS is loaded, you would be able to use any MS-DOS program that uses this driver. Still, if you wish to use ANSI.SYS to alter the manifestation of the command prompt, you may need to perform some additional steps. You have to add "dosonly" Config.nt file in order to highlight the command line prompt MS-DOS and run it from the same. Then you may execute the batch file including the ANSI escape sequences to highlight the prompt. As Ms DOS and CMD looks like same, but keep in mind that you won’t be able to start programs non-DOS from the command line and ANSI.SYS is a device driver based on MS-DOS.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to use ANSI.SYS in Windows 7"
Thread Thread Starter Forum Replies Last Post
Programming in ANSI C by E Balagurusamy free download Mr Alfa Ebooks 1 16-07-2010 12:27 PM
Ansi.sys and Windows XP issue AMISH Windows Software 3 13-07-2009 07:07 PM
Join SQL Traditional or ANSI Deep23 Software Development 2 23-04-2009 12:07 AM
Convert UTF-8 to ANSI DotNetUser Software Development 2 04-04-2009 10:44 PM


All times are GMT +5.5. The time now is 02:59 PM.