Path: utzoo!utgpu!water!watmath!clyde!bellcore!tness7!killer!richardh
From: richardh@killer.UUCP (Richard Hargrove)
Newsgroups: comp.sys.ibm.pc
Subject: Touch (was: Re: Shell command question)
Keywords: msdos redirection
Message-ID: <4363@killer.UUCP>
Date: 5 Jun 88 21:00:03 GMT
References: <540@etn-rad.UUCP>
Organization: The Unix(R) Connection, Dallas, Texas
Lines: 14

In article <540@etn-rad.UUCP>, markus@etn-rad.UUCP (Markus N. Richardson) writes:
>      Hmm... how about "type nul > filename" <==> "touch filename"

This will work to create a new file. Unfortunately, it will gut a pre-existing
file. At first I assumed that 

type nul >>filename

would work, but I can't get MS-DOS 3.3 to touch the file with that command
invocation (it seems to have no effect).

richard hargrove
...!{ihnp4 | codas | cbosgd}!killer!richardh
--------------------------------------------