Solved Can't delete a non-sys file as administrator

I use Vista Home Premium 32-bit.

I'm unable to delete a temporary folder on C:. This folder was used by an application to create an ISO file. If the job had succeeded the app deletes the temp file. I was forced to kill the job due to lack of disk space, so the folder was not deleted.

In an account with Administrator privileges (not the hidden admin account), I ran the following commands in an elevated command prompt. Due to failure to delete higher folders, I am down at the lowest folder in a branch, "Documents", which is an empty folder.

I would be grateful for any advice :)

------------------------------------------------------

C:\vui\mount5165804536\Users\Administrator>dir
Volume in drive C has no label.
Volume Serial Number is 846E-81AE

Directory of C:\vui\mount5165804536\Users\Administrator

02/11/2006 14:04 <DIR> .
02/11/2006 14:04 <DIR> ..
02/11/2006 14:04 <DIR> Documents
0 File(s) 0 bytes
3 Dir(s) 8,987,209,728 bytes free

C:\vui\mount5165804536\Users\Administrator>attrib documents
C:\vui\mount5165804536\Users\Administrator\Documents

C:\vui\mount5165804536\Users\Administrator>del documents
C:\vui\mount5165804536\Users\Administrator\documents\*, Are you sure (Y/N)? y

C:\vui\mount5165804536\Users\Administrator>dir
Volume in drive C has no label.
Volume Serial Number is 846E-81AE

Directory of C:\vui\mount5165804536\Users\Administrator

02/11/2006 14:04 <DIR> .
02/11/2006 14:04 <DIR> ..
02/11/2006 14:04 <DIR> Documents
0 File(s) 0 bytes
3 Dir(s) 8,987,209,728 bytes free

C:\vui\mount5165804536\Users\Administrator>

-------------------------------------------------------------

You can see from the dialog that the "del" command silently failed to delete the empty folder, "Documents".
.
 

My Computer

That's normal. Use RMDIR <directory> instead.

Aaaagh :)

And I spent 10 minutes trying to figure out why "rm" wouldn't work either :)

I should partition my brain into a DOS partition and a UNIX partition.

Thanks.
.

Yeah, merely telnetting back into a *NIX host causes rearrangement in my head that results in several weeks of trying to remember DOS commands again :)
 

My Computer

Back
Top