[comp.sys.ibm.pc] Touch

richardh@killer.UUCP (Richard Hargrove) (06/06/88)

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
--------------------------------------------