Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!dsacg2.dsac.dla.mil!nol2321 From: nol2321@dsacg2.dsac.dla.mil (Jim Dunn) Newsgroups: comp.sys.ibm.pc.programmer Subject: CDSPACE... Keywords: cd, dos, space, stuff, junk, nothing, everything, :) Message-ID: <2137@dsacg2.dsac.dla.mil> Date: 9 May 90 01:09:11 GMT Distribution: usa Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 26 >> >>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 Or, you could do this: C:> Echo "hi mom! :)" > \usr\lib\mommy :) Jim Dunn c/o DSAC-OLC, P.O. Box 1605, Columbus, OH 43216-5002 (614) 238-9713 Internet: jimdunn@dsac.dla.mil [131.78.1.1] FAX: 238-9936 AutoVon 850-9713 UUCP: ...!osu-cis!dsac!jimdunn DLA Systems Automations Center, Columbus, OH God-Jesus-Holy_Spirit-Universe-Milky_Way-SOL_III-Earth-USA-DoD-DSAC-OLC-Me! :)