🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #524

Truncating a File

#524
From: Mark Hjelm
Date: Tue, 28 Jul 1992 19:44
6 lines
552 bytes
My apologies if this is an faq, but is there a direct way to truncate
a file under DOS?  Copy/delete/rename seems a bit inefficient to me.

Thanks,
Mark Hjelm
hjelm@cs.cmu.edu
Technical Details
Message-ID: <1992Jul28.194404.128632@cs.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!hjelm

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!udel!rochester!cantaloupe.srv.cs.cmu.edu!hjelm
From: hjelm+@cs.cmu.edu (Mark Hjelm)
Subject: Truncating a File
Message-ID: <1992Jul28.194404.128632@cs.cmu.edu>
Date: Tue, 28 Jul 92 19:44:04 GMT
Organization: School of Computer Science, Carnegie Mellon
Nntp-Posting-Host: g.gp.cs.cmu.edu
Lines: 7