home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / misc / 4954 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  944 b 

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!decwrl!csus.edu!netcom.com!messina
  2. From: messina@netcom.com (Tony Porczyk)
  3. Newsgroups: comp.os.msdos.misc
  4. Subject: Re: Batch command file parameter question
  5. Message-ID: <8#gn=sn.messina@netcom.com>
  6. Date: 30 Aug 92 03:01:00 GMT
  7. Article-I.D.: netcom.8#gn=sn.messina
  8. References: <64900@cup.portal.com>
  9. Organization: Messina Software
  10. Lines: 21
  11.  
  12. compata@cup.portal.com (David H Close) writes:
  13.  
  14. >The following simple MS-DOS batch file,
  15. >[...]
  16. >yields a result which I find peculiar.  Observe this behavior:
  17. >    > q "one two" three
  18. >    "one
  19. >    two"
  20. >    three
  21. >Is there no way to make this foolish operating system recognize a quoted
  22. >string and treat it as a single parameter?  
  23.  
  24. That's not the operating system, that's the brain dead command.com.
  25. Replace it with 4DOS, and you will get exactly what you expect. 
  26.  
  27. >Alternatively, is there any
  28. >justification for this behavior (besides incompetence)?
  29.  
  30. No.
  31.  
  32. t.
  33.