Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!seismo!ut-sally!ut-ngp!dlnash From: dlnash@ut-ngp.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: stupid COMMAND.COM (WAS: DOS enviroment size) Message-ID: <4817@ut-ngp.UUCP> Date: Sat, 7-Mar-87 16:17:39 EST Article-I.D.: ut-ngp.4817 Posted: Sat Mar 7 16:17:39 1987 Date-Received: Sun, 8-Mar-87 17:33:06 EST References: <2091@ncoast.UUCP> <409500003@prism> <2986@iuvax.UUCP> <12559@watnot.UUCP> Organization: UTexas Computation Center, Austin, Texas Lines: 32 Keywords: DOS environment substitutions In article <12559@watnot.UUCP>, djfiander@watnot.UUCP writes: > > Something that I discovered after getting the MKS toolkit (before they > had KSH ready for release) was that it is physically impossible to > pass certain characters to a program on the commandline, specifically > " ' * ? | etc. ^ ^ ^ ^ ^ > I wrote a quicky C program which contained just printf("%s\n", argv[1]); I could pass all of those characters highlighted above and also < and >. The only thing I had to do is enclose | < and > in double quotes. I also wrote a batch file which was just echo %1. I got the same results. You can pass any character on the command line, if you put it in double quotes. However, the quotes are not stripped. This is for PC-DOS 3.1 on an IBM PC XT. Don Nash UUCP: ...!{ihnp4, allegra, seismo!ut-sally}!ut-ngp!dlnash ARPA: dlnash@ngp.UTEXAS.EDU BITNET: CCEU001@UTADNX, DLNASH@UTADNX TEXNET: UTADNX::CCEU001, UTADNX::DLNASH UUU UUU U U The University of Texas at Austin U TTTTUTTTTTTTTT Computation Center U T U TT T U U TT "The world is basically non-linear." UUUUUUU TT TT TTTT