Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!uwvax!oddjob!mimsy!deba From: deba@mimsy.UUCP Newsgroups: comp.sys.ibm.pc Subject: DOS command in batch file does not work when "echo off" Message-ID: <5792@mimsy.UUCP> Date: Fri, 13-Mar-87 16:50:49 EST Article-I.D.: mimsy.5792 Posted: Fri Mar 13 16:50:49 1987 Date-Received: Sat, 14-Mar-87 09:44:23 EST Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 10 PROMPT command does not work when "ECHO OFF'" but works when "ECHO ON". These are the lines in the batch file. ECHO OFF IF %1 == RED PROMPT $e[41m IF %1 == GREEN PROMPT $e[42m If you have a CGA card try it with echo on and off. If you know the reason why it does not work please let me know. Hope it is not a bug in 3.1 DOS.