Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > How to remove hidden directories

Reply
Thread Tools Display Modes

How to remove hidden directories

 
 
Rob van Albada
Guest
Posts: n/a

 
      06-19-2008
Hi,

I have the following problem:

I have a directory C:\BU08\USER with some thrash which I put there by
mistake, using Robocopy.
They are some nested and empty directories which are hidden, and all
have the name "Application Data".
So I have C:\BU08\USER\Application Data\Application data\Application
Data\Application Data[..]\Application Data

All hidden, and I CANNOT make them visible even when 'Show hidden maps
and files' is checked (which it always is). (I'm talking about Windows
Explorer.)

Under CLI the attrib command does nothing.

How do I get rid of this rubbish?

I already tried deleting the C:\BU08\USER directory but only the files
which I want are erased and the rubbish remains!
The system indicates that the path is too long...

Thanks for any help,

Kind regards,

Rob.



 
Reply With Quote
 
 
 
 
Rob van Albada
Guest
Posts: n/a

 
      06-19-2008
I already solved the problem after finding out that the nested
directories were not only h(idden) but also s(ystem).

Repeating these commands:

attrib -s -h "Application Data"
ren "Application Data" AD

shortened the path so I could see on screen what I was doing.

After this I repeated:

rd /q /s AD
cd ..

which got rid of all the nested and superfluous directories.

Of course I made (gratefully) use of F8 which saved me some typing.
The directories had been nested 38 deep!

If anyone can point me to a shorter or more efficient method please
let me know.

Kind regards,

Rob.






On Thu, 19 Jun 2008 18:13:46 GMT, (Rob van
Albada) wrote:

>Hi,
>
>I have the following problem:
>
>I have a directory C:\BU08\USER with some thrash which I put there by
>mistake, using Robocopy.
>They are some nested and empty directories which are hidden, and all
>have the name "Application Data".
>So I have C:\BU08\USER\Application Data\Application data\Application
>Data\Application Data[..]\Application Data
>
>All hidden, and I CANNOT make them visible even when 'Show hidden maps
>and files' is checked (which it always is). (I'm talking about Windows
>Explorer.)
>
>Under CLI the attrib command does nothing.
>
>How do I get rid of this rubbish?
>
>I already tried deleting the C:\BU08\USER directory but only the files
>which I want are erased and the rubbish remains!
>The system indicates that the path is too long...
>
>Thanks for any help,
>
>Kind regards,
>
>Rob.
>
>
>


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Files Remain Hidden Even though I selected show Hidden & Protected LabTechnician Windows Vista File Management 11 03-02-2008 09:08 AM
FTP whole directories? Mike C Windows Vista General Discussion 4 01-11-2008 02:37 PM
Howo to keep hidden icons hidden? t8769 Windows Vista General Discussion 2 11-02-2007 07:24 AM
Problems with Directories Idiot_Ronin Windows Vista General Discussion 0 08-17-2007 12:53 AM
Expand Sub Directories Greg Windows Vista General Discussion 2 05-21-2007 09:32 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59