-
@mkylman:
Ofcourse, I know the size of a main folder includes the sizes of all the nested folders. And I have set the status for all my hidden folders to "visible" anyhow. so, I know its more complicated that just a few hidden folders hogging up space.
-
Format your drive and repartition it :D
-
well, that did hit me.. just want to keep that as the last option. but, seriously,Is there no other way of finding out what is wrong with my C drive?
-
Do what Salem said. Listen to our suggestions. The only sure way to list every file and folder on your drive is to bypass the Windows API completely. The command prompt or the old DOS session won't lie to you. WYSIWYG with DOS. Not so with Windows as it can be exploited in a fraction of a second to show or not show different folders and files. AKA...rootkits.
If the command prompt reports a discrepancy you probably have a file system issue.
dir *.* /s /ash> "MyDrive.txt"
This will report the size of every folder (directory) and file on the drive be it archive, system, or hidden. It will dump the results in MyDrive.txt.
You guys who rely on the API to report your drive stats to you are being seriously misled. A small C program will do this for you in console mode and it will be correct. The API is not reliable, hence Windows Explorer or anything to do with Windows or inside of Windows will not be correct. It's just too easy to exploit it.
The only other way is to read up on how to read the NTFS file system and write code that will do just that. After reading the file system you then do the same in the API and compare the results.
There is a utility called Rootkit Revealer that does just this very thing. Google it.
-
sorry about that, I logged in after a very long time and I just missed it.
these were the numbers it showed at the end of the list :
671,196,727 bytes
3,358,853,840 bytes free
which is in fact true. It shows there are onl about 3 GB left, But I dont follow the first part, why is it showing that only 0.6 GB of space is used? or am i missing something here?
Is there a command that does not perform a recursively walk in each folder but just specifies the size of each folder? this list is too long.
-
Use the 'du' command if you have cygwin installed
du --help
for lots of options
-
On windows/Dos, you can do
dir /s
to list subdirectories recursively.