The rules are not what I remember.
Has your CMD.EXE changed, or will it change ?
This test script will find out.
Code: Select all
@echo off
echo #
echo ###
echo #####
pause
Before I knew better I would have said the display would have 3 lines each starting with a hash, but what I now see is
Code: Select all
#
###
#####
Press any key to continue . . .
This change will break any code that depends upon the output of echo excluding all initial spaces,
but may be convenient where it obviates all the "work-arounds" that have been devised under "ECHO. FAILS to give text or blank line - Instead use ECHO/"
viewtopic.php?f=3&t=774
I am always suspicious of Patch Tuesday and "Out of band" Microsoft Updates ;
Additional possibilities include :-
Changing from 32 bit Laptop to 64 bit Desktop ;
Changing from XP Home + SP3 to Windows 7 Ultimate + SP1
I see the good, but fear the unknown.
Every time Microsoft patch something they always provide a way of attempting to uninstall because they often get it wrong;
what are they chances that some new whizz kid has made his mark on undocumented 30 year old source code to fix this ECHO and caused unfortunate side-effects which are waiting to ambush the users ?
College of CMD.EXE Gurus, your starter for 10 :-
What else got broken in CMD.EXE when ECHO was changed
Alan