From: "A.Appleyard" To: DJGPP AT sun DOT soe DOT clarkson DOT edu Date: Thu, 23 Nov 1995 14:28:35 GMT Subject: A DOS bug that may cause trouble for djgpp users As hereinunder, Messy-DOS's *.BATfile caller goes BATs when it finds an `=' in an argument. This may cause obscure trouble for people who call a Gnu C/C++ program via a *.BAT . I have MS-DOS 6.22 . <-------- marks lines that I typed. C:\AMZIP>TYPE T$.CC <------------ #include main(int nargs,char**Arg){int i; for(i=0;iTYPE T$$.BAT <------------- t$.exe %1 %2 %3 %4 %5 %6 %7 %8 C:\AMZIP>t$ cat=and=mouse=games <---------------- 0th arg is `c:/amzip/t$.exe' 1th arg is `cat=and=mouse=games' C:\AMZIP>t$$ cat=and=mouse=games <------------------ C:\AMZIP>t$.exe cat and mouse games 0th arg is `c:/amzip/t$.exe' 1th arg is `cat' 2th arg is `and' 3th arg is `mouse' 4th arg is `games'