Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!hercules!fernwood!oracle!news From: jeras@oracle.oracle.com (John Eras) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: CDSPACE... Summary: gimme a break! Message-ID: <1990May9.061126.7344@oracle.com> Date: 9 May 90 06:11:26 GMT References: <2137@dsacg2.dsac.dla.mil> Reply-To: jeras@oracle.com (John Eras) Distribution: usa Organization: Oracle Corporation, Belmont, CA Lines: 21 In article <2137@dsacg2.dsac.dla.mil> nol2321@dsacg2.dsac.dla.mil (Jim Dunn) writes: >>>Create a file that contains three characters. "c" "d" . >>>No trailing CR+LF! Put it in \usr\lib\cdspace >> >>You've told half of the story, but what about the other half? I am >>interested in how you create that \usr\lib\cdspace file. I don't know >>of any smart way to get this done except by a line of C code: > >Well, you can just use the DOS ECHO command, like this: > > C:> ECHO "cd " > \usr\lib\cdspace Yeah, right. Not only does this put in a CR+LF pair, but it also puts in an excess space and two excess quotes, for a net of 8 characters! Not exactly the 3 characters that were desired. What ECHO are *you* using. Certainly not the DOS ECHO... -- AT: jeras@oracle.com | "It's a terrible waste BANG: ...{pacbell,hplabs,apple,decwrl}!oracle!jeras | to lose one's .sig, or FLAME: /dev/null (nyuk, nyuk) | not to have one at all."