Path: utzoo!attcan!uunet!husc6!bloom-beacon!gatech!udel!burdvax!sdcrdcf!ism780c!mikep From: mikep@ism780c.isc.com (Michael A. Petonic) Newsgroups: comp.sys.ibm.pc Subject: Re: Shell command question Keywords: shell msdos autoexec.bat Message-ID: <10555@ism780c.isc.com> Date: 6 Jun 88 04:30:16 GMT References: <1102@cod.NOSC.MIL> <9301@iuvax.cs.indiana.edu> <22243@tis.llnl.gov> <540@etn-rad.UUCP> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 15 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" Can you say "Bye Bye file?" I knew you could. The touch utility in MS-DOS is probably needed. Surely, truncating the file (while updating the datestamp) is not the general-purpose solution to touch. -MikeP