PDA

View Full Version : How to delete hidden files?


aiman
5th Jun 2007, 11:15
I have apparently deleted all files on a D drive partition which along with a C drive partition makes up my hard disk, but when I look at the D drive properties, it shows there are some 40 Go still used.
Doing a defrag it shows me that it is moving some files and it does so during the defrag, but how can I remove them?:ugh:

Saab Dastard
5th Jun 2007, 11:58
Empty Recycle bin.

Ensure that Pagefile is not set to D.

Show hidden / system files (via folder properties), delete.

From a command prompt, run dir /S /A:HS from the root of D to view the files,

Then attrib -H -S *.* /S /D to remove hidden and system attributes, then del *.* /S /D.

Use with caution!

Alternatively, just reformat the drive!

SD

Parapunter
5th Jun 2007, 12:07
Click on my compouter, click tools/folder options/view/show hidden files and folders. Be warned - they're hidden to stop numpties deleting them & wrecking the system.
A better way would be to delete the partition if you're in the mood for wiping your drive.


On reflection - are you sure you're not attempting to delete your operating system? I would be certain I knew what I was playing with before proceeding.

aiman
6th Jun 2007, 07:13
To Saab in Twickers

Thanks a lot for the very useful reply

Did it all last night and now I have a D drive with 99,999% free space !

THANKS