<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm fairly sure it's not possible but I thought I
would ask to be sure. Is there any way to truncate a file on disk
without re-writing it to a new file and deleting the old one? Say I have a
40 meg file and I want to remove the last 128 bytes from the file. If it's
not possible, it seems rediculous that Microsoft did not provide a way to do
it. Logically, it should be possible by splitting the directory
entry into 2, and deleting the 2nd entry. Or maybe some manipulation of
the file allocation table.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#000000>Cheers,</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT
color=#000000>Ross.</FONT></FONT></DIV></BODY></HTML>