Friday, December 12, 2008

How to delete a file permanently!

Have you ever noticed that copying a large file on Windows NT can take a really long time, but deleting the same file will happen almost instantly? Actually, when you delete a file, Windows simply deletes the index for the file and the file content remains encoded on disk. The space that the file occupied is not zeroed, so it's possible for raw disk editors and recovery tools to restore the file. So how can you permanently delete a file on disk? The answer is to use SDelete - another SysInternals tool by Mark Russinovich.

Click here to read more and to download a copy of SDelete.

Tuesday, December 9, 2008

What is a Shim?

Have you ever written a shim? Chances are that you have, you just don't know it yet. Here's the definition on Wikipedia:

"In computer programming, a shim is a small library that converts one API into another. They typically come about when the functions of one API become part of another, larger, library. In these cases, the older API can still be supported as a thin layer on top of the newer, and more general, code." Wikipedia

Tuesday, December 2, 2008

How Device Drivers Work

Take a look at the following link for a high level article on how device drivers work. I found the section on driver ranking to be especially enlightening.