flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Disk Free Space Cleaner (Win32, GUI:)) |
Author |
|
asmfan 20 Jun 2008, 11:35
The very very old project with a new progressbar as a GUI (if it can be called GUI, lol),
Cleans current logical disk (c:, d:, etc.) free space with ...0101 pattern using only Win API and no direct HDD access. Useful when need to ensure that all deleted data cannot be restored with help of any programmatical way. press ESC if you're bored to wait the program to complete. * added multiple instance handling.
_________________ Any offers? Last edited by asmfan on 26 Jun 2008, 16:53; edited 2 times in total |
|||||||||||
20 Jun 2008, 11:35 |
|
asmfan 22 Jun 2008, 11:57
new version available at 1st page
|
|||
22 Jun 2008, 11:57 |
|
edfed 22 Jun 2008, 13:25
deleted.
Last edited by edfed on 22 Jun 2008, 20:55; edited 1 time in total |
|||
22 Jun 2008, 13:25 |
|
vador 12 Jul 2008, 18:34
here is my version
I need help with it: When I create a temporary file on the disk to be cleaned, and that disk is compressed (NTFS), I cannot use DeviceIoControl to set the compression state of the file. DeviceIoControl with FSCTL_SET_COMPRESSION just returns TRUE, but the file has still the compressed attribute set.
|
|||||||||||
12 Jul 2008, 18:34 |
|
revolution 12 Jul 2008, 18:55
You might be interested to use the FSCTL_GET_RETRIEVAL_POINTERS parameter for the NtFsControlFile function. This is part of the defrag API in Win2K and up. It returns an array of clusters for the compressed file. I've seen a few other disk sanitisers use this method.
|
|||
12 Jul 2008, 18:55 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.