On Wed, 7 Apr 2004, morning_wood wrote: > where did the delete command came from ???? > this has nothing to do with any system command > it was simply an odd behavior where by ">" piping > output of a file into itself, causes a 0 byte or corrupted file > C:>del.exe >del.exe > in particular, executeable files.
You are confusing Pipes and Redirection. Pipes are "|" while redirection is ">" and ">>". The redirection operators imply the opening of a file for writing, which in the case of ">" will always truncate the target as part of the open. > m.wood Se_cur_ity my ass. -- "One of the nice things about ignorance is that it is curable. Unlike Neo-Conservatism. Eric Michael Cordian _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html