Is there a similar command like COLOR in MS-DOS?Why does MS-DOS tells me I need extended memory and thinks a...

Rationale to prefer local variables over instance variables?

Real life puzzle: Unknown alphabet or shorthand

Are there any other Chaos worshipping races?

Logistics of a hovering watercraft in a fantasy setting

Alameda and Belisario throwing a fair die.

How to kill a localhost:8080

If nine coins are tossed, what is the probability that the number of heads is even?

How would we write a misogynistic character without offending people?

Misplaced tyre lever - Alternatives?

Non-Italian European mafias in USA?

Can I send almost 1MB transaction?

How do ISS astronauts "get their stripes"?

What is better: yes / no radio, or simple checkbox?

Plagiarism of code by other PhD student

What happened to QGIS 2.x

When was drinking water recognized as crucial in marathon running?

Is the helper verb 'werden' mandatory in both passive clauses separated by an 'oder', or only at the very the end?

How to mitigate "bandwagon attacking" from players?

Is there a frame of reference in which I was born before I was conceived?

What does 'acting greedily' mean?

Does Garmin Oregon 700 have Strava integration?

Is there a math equivalent to the conditional ternary operator?

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

Can we carry rice to Japan?



Is there a similar command like COLOR in MS-DOS?


Why does MS-DOS tells me I need extended memory and thinks a file is read-only?DOS ethernet driverCustom MS-DOS / FreeDOSCan I make Grub2 boot to dos like this?LAN connection - DOS to Windows 7Add MS-DOS boot option to Windows 2000Why do I get an internal stack overflow error when minimizing and restoring an MS-DOS virtual machine window?Is it possible to print from a DOS application to google cloud printer?Use DOSBox's SB16 Emulation in real DOS?Is it possible to run a dos application in fullscreen in Windows 10 32 bit













0















MS-DOS 6.22 is running. Who needs Windows 10?



I know that upon starting there is a possibility to change the foreground and background color of the MS-DOS environment.



But is this also possible when MS-DOS is already running?



My case is, that I want to run a .BAT file, that then switching the color whether it throws an error or is ok.










share|improve this question



























    0















    MS-DOS 6.22 is running. Who needs Windows 10?



    I know that upon starting there is a possibility to change the foreground and background color of the MS-DOS environment.



    But is this also possible when MS-DOS is already running?



    My case is, that I want to run a .BAT file, that then switching the color whether it throws an error or is ok.










    share|improve this question

























      0












      0








      0








      MS-DOS 6.22 is running. Who needs Windows 10?



      I know that upon starting there is a possibility to change the foreground and background color of the MS-DOS environment.



      But is this also possible when MS-DOS is already running?



      My case is, that I want to run a .BAT file, that then switching the color whether it throws an error or is ok.










      share|improve this question














      MS-DOS 6.22 is running. Who needs Windows 10?



      I know that upon starting there is a possibility to change the foreground and background color of the MS-DOS environment.



      But is this also possible when MS-DOS is already running?



      My case is, that I want to run a .BAT file, that then switching the color whether it throws an error or is ok.







      ms-dos






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 7 '15 at 15:14









      TrollwutTrollwut

      1961416




      1961416






















          1 Answer
          1






          active

          oldest

          votes


















          2














          There are two possibilities:




          1. You install ANSI.SYS or any other ANSI driver. Then you just write an escape sequence to the screen, e.g. ESC [ 37 ; 44 m, where ESC is the Escape character (0x1b) and without any spaces. This sequence will change the color of the following text to "white on blue". If you can input the ESC character into your BAT file, this works well (try Ctrl+P ESC in DOS EDIT).

          2. You directly change the screen memory at 0xB800. This way you can also change the color of existing text without removing (and rewriting) it first. You probably need an external tool (DEBUG should suffice, though) to be able to change display memory. Also, it probably only works on IBM-PC compatible systems with a CGA-compatible graphics card.






          share|improve this answer


























          • I will work on that on Monday, thanks for your response!

            – Trollwut
            Aug 7 '15 at 16:10











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f952425%2fis-there-a-similar-command-like-color-in-ms-dos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          There are two possibilities:




          1. You install ANSI.SYS or any other ANSI driver. Then you just write an escape sequence to the screen, e.g. ESC [ 37 ; 44 m, where ESC is the Escape character (0x1b) and without any spaces. This sequence will change the color of the following text to "white on blue". If you can input the ESC character into your BAT file, this works well (try Ctrl+P ESC in DOS EDIT).

          2. You directly change the screen memory at 0xB800. This way you can also change the color of existing text without removing (and rewriting) it first. You probably need an external tool (DEBUG should suffice, though) to be able to change display memory. Also, it probably only works on IBM-PC compatible systems with a CGA-compatible graphics card.






          share|improve this answer


























          • I will work on that on Monday, thanks for your response!

            – Trollwut
            Aug 7 '15 at 16:10
















          2














          There are two possibilities:




          1. You install ANSI.SYS or any other ANSI driver. Then you just write an escape sequence to the screen, e.g. ESC [ 37 ; 44 m, where ESC is the Escape character (0x1b) and without any spaces. This sequence will change the color of the following text to "white on blue". If you can input the ESC character into your BAT file, this works well (try Ctrl+P ESC in DOS EDIT).

          2. You directly change the screen memory at 0xB800. This way you can also change the color of existing text without removing (and rewriting) it first. You probably need an external tool (DEBUG should suffice, though) to be able to change display memory. Also, it probably only works on IBM-PC compatible systems with a CGA-compatible graphics card.






          share|improve this answer


























          • I will work on that on Monday, thanks for your response!

            – Trollwut
            Aug 7 '15 at 16:10














          2












          2








          2







          There are two possibilities:




          1. You install ANSI.SYS or any other ANSI driver. Then you just write an escape sequence to the screen, e.g. ESC [ 37 ; 44 m, where ESC is the Escape character (0x1b) and without any spaces. This sequence will change the color of the following text to "white on blue". If you can input the ESC character into your BAT file, this works well (try Ctrl+P ESC in DOS EDIT).

          2. You directly change the screen memory at 0xB800. This way you can also change the color of existing text without removing (and rewriting) it first. You probably need an external tool (DEBUG should suffice, though) to be able to change display memory. Also, it probably only works on IBM-PC compatible systems with a CGA-compatible graphics card.






          share|improve this answer















          There are two possibilities:




          1. You install ANSI.SYS or any other ANSI driver. Then you just write an escape sequence to the screen, e.g. ESC [ 37 ; 44 m, where ESC is the Escape character (0x1b) and without any spaces. This sequence will change the color of the following text to "white on blue". If you can input the ESC character into your BAT file, this works well (try Ctrl+P ESC in DOS EDIT).

          2. You directly change the screen memory at 0xB800. This way you can also change the color of existing text without removing (and rewriting) it first. You probably need an external tool (DEBUG should suffice, though) to be able to change display memory. Also, it probably only works on IBM-PC compatible systems with a CGA-compatible graphics card.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 18 hours ago









          phuclv

          9,76863992




          9,76863992










          answered Aug 7 '15 at 15:30









          Sebastian R.Sebastian R.

          36415




          36415













          • I will work on that on Monday, thanks for your response!

            – Trollwut
            Aug 7 '15 at 16:10



















          • I will work on that on Monday, thanks for your response!

            – Trollwut
            Aug 7 '15 at 16:10

















          I will work on that on Monday, thanks for your response!

          – Trollwut
          Aug 7 '15 at 16:10





          I will work on that on Monday, thanks for your response!

          – Trollwut
          Aug 7 '15 at 16:10


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f952425%2fis-there-a-similar-command-like-color-in-ms-dos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...