Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!mcnc!ecsvax!harris From: harris@ecsvax.UUCP (Mark Harris) Newsgroups: comp.sys.ibm.pc Subject: strings in DOS 3.0 Keywords: DOS 3.0, batch Message-ID: <7342@ecsvax.UUCP> Date: 16 Jul 89 12:23:23 GMT Organization: UNC Educational Computing Service Lines: 18 I've run into a problem while writing a batch file. To illustrate, consider the following: SET A=HI SET B=THERE ECHO %A% %B% 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. In fact, in DOS 3.0 the first %name% terminates the line. I really need the ability to concatenate string variables, but I don't see how to do it in DOS 3.0. Any words of wisdom out there? This must be a widely-known bug in a single DOS version, but I've never heard of it before. -- Mark Harris mail:harris@ecsvax(UUCP/BITNET) Department of Mathematical Sciences Appalachian State University Boone, NC 28608 (704) 262-3050 office, 264-6906 home