Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!bsu-cs!dhesi From: dhesi@bsu-cs.bsu.edu (Rahul Dhesi) Newsgroups: comp.sys.ibm.pc Subject: Re: strings in DOS 3.0 Keywords: DOS 3.0, batch Message-ID: <8232@bsu-cs.bsu.edu> Date: 16 Jul 89 17:34:42 GMT References: <7342@ecsvax.UUCP> Reply-To: dhesi@bsu-cs.bsu.edu (Rahul Dhesi) Organization: CS Dept, Ball St U, Muncie, Indiana Lines: 21 In article <7342@ecsvax.UUCP> harris@ecsvax.UUCP (Mark Harris) writes: >In DOS 2.1 and 3.3 the batch file has the desired effect: HI THERE is >echoed. In DOS 3.0, only HI is echoed. The general rule for MS-DOS, violations of which are unknown, is that MS-DOS version n.0 always has many bugs, and one should always wait for version n.10 or higher. You might try this: set A=HI set B=THERE ... set MSG=%A% %B% echo %MSG% set MSG= The last line recovers lost environment space. -- Rahul Dhesi UUCP: ...!{iuvax,pur-ee}!bsu-cs!dhesi