home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!usenet.coe.montana.edu!decwrl!csus.edu!netcom.com!messina
- From: messina@netcom.com (Tony Porczyk)
- Newsgroups: comp.os.msdos.misc
- Subject: Re: Batch command file parameter question
- Message-ID: <8#gn=sn.messina@netcom.com>
- Date: 30 Aug 92 03:01:00 GMT
- Article-I.D.: netcom.8#gn=sn.messina
- References: <64900@cup.portal.com>
- Organization: Messina Software
- Lines: 21
-
- compata@cup.portal.com (David H Close) writes:
-
- >The following simple MS-DOS batch file,
- >[...]
- >yields a result which I find peculiar. Observe this behavior:
- > > q "one two" three
- > "one
- > two"
- > three
- >Is there no way to make this foolish operating system recognize a quoted
- >string and treat it as a single parameter?
-
- That's not the operating system, that's the brain dead command.com.
- Replace it with 4DOS, and you will get exactly what you expect.
-
- >Alternatively, is there any
- >justification for this behavior (besides incompetence)?
-
- No.
-
- t.
-