Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!sumax!polari!georgf From: georgf@polari.UUCP (George Forsman) Newsgroups: comp.sys.ibm.pc Subject: Re: dir | more Message-ID: <1461@polari.UUCP> Date: 27 Mar 90 05:40:40 GMT References: <2219@orbit.cts.com> Reply-To: georgf@.UUCP (George Forsman) Organization: PolarServ, Seattle WA Lines: 20 In article <2219@orbit.cts.com> cheangkk@pnet51.orb.mn.org (Pitt Cheang) writes: >Thanks for all the people who help me out with the question. However, one more >question, why this only happending in the root directory instead of all >subdirectory ? > >Thanks Again. > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > ( Pitt Cheang ) Input, Input, Input, I want more input !!! > The file only appear in the root because MS-DOS (specifically command.com) uses the root directory for it's temporary files. It would be nice if it would use a TMP= environment variable for those files, but it does not. So what this comes down to is: no matter what subdirectory you are in, DOS will use the ROOT directory of the current drive for the PIPE temporary files. (This can be a problem when doing a DIR | SORT on a write-protected diskette). -George ...uw-beaver!sumax!polari!georgf Lack of .sig from procrastinators inc.