Path: utzoo!dciem!nrcaer!scs!spl1!laidbak!att!pacbell!ames!ncar!boulder!sunybcs!bingvaxu!marge.math.binghamton.edu!sullivan From: sullivan@marge.math.binghamton.edu (fred sullivan) Newsgroups: comp.sys.ibm.pc Subject: Re: Shell command question Message-ID: <1246@bingvaxu.cc.binghamton.edu> Date: 4 Jun 88 12:59:22 GMT Article-I.D.: bingvaxu.1246 References: <1102@cod.NOSC.MIL> <9301@iuvax.cs.indiana.edu> <22243@tis.llnl.gov> <540@etn-rad.UUCP> Sender: news@bingvaxu.cc.binghamton.edu Reply-To: sullivan@marge.math.binghamton.edu.cc.binghamton.edu (fred sullivan) Organization: SUNY Binghamton, NY Lines: 16 In article <540@etn-rad.UUCP> markus@etn-rad.UUCP (Markus N. Richardson) writes: >bae@ati.tis.llnl.gov (Hwa Jin Bae) writes: >>Regarding the "touch" command in previous posting (my autoexec.bat): >> it's a small program that works like UNIX touch. >> I'm sure you can easily write your own. >> > Hmm... how about "type nul > filename" <==> "touch filename" > This does a wonderful job of touching the file. It also truncates it to length 0. It is therefore not quite equivalent to the usual "touch" command. Fred Sullivan SUNY at Binghamton Dept. Math. Sciences Binghamton, NY 13903 sullivan@marge.math.binghamton.edu First you make a roux!