Posts Tagged ‘Files’

clear a file

May 28th, 2009 No comments

cp /dev/null your_file_name

copy /y nul your_file_name

Tags: , ,

Structured Storage

January 14th, 2009 No comments

Structured Storage provides file and data persistence in COM by handling a single file as a structured collection of objects known as storages and streams.

The purpose of Structured Storage is to reduce the performance penalties and overhead associated with storing separate objects in a single file. Structured Storage provides a solution by defining how to handle a single file entity as a structured collection of two types of objects—storages and streams—through a standard implementation called Compound Files. This enables the user to interact with, and manage, a compound file as if it were a single file rather than a nested hierarchy of separate objects.

Read more…