Re: How to remove hidden directories

Tech-Archive recommends: Fix windows errors by optimizing your registry



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, R.vanAlbada2@xxxxxxxxx (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.




.



Relevant Pages

  • Re: Trying to set frequency on ATSC BDA tuner
    ... Hopefully someone with BDA experience will chime in. ... It's only a couple lines longer with the explicit Releasecommands. ... My version of your code snippet would be eleven lines shorter using smart ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Sinclair ZX Spectrum BASIC Programming (PDF Available?)
    ... impression that it would be shorter -- just ... If you download the version of BASin hosted at WorldOfSpectrum, it comes with a windows help file which contains a full BASIC manual in easily navigable chapters and also includes the command reference from the 48k+ manual, which is probably more to your taste. ... The manual is also fully searchable,and if you use the BASIC editor included with BASin then you can use the manual as context sensitive help for the commands you type. ...
    (comp.sys.sinclair)
  • Re: Shortening the ?: construct
    ... At some point I thought I read about a shorter way to write this, ... did not involve repeating the $very_long_expression in the same ... if you're able to upgrade to 5.10: ... Peter Scott ...
    (perl.beginners)
  • Re: Waste of keys
    ... >> Adding keys and commands helps prevent miskeying and keeps your fingers ... shorter possibility list is well worth the extra keys to learn. ... Nick McConnell ...
    (rec.games.roguelike.angband)
  • Re: [SLE] Use rsync to update Suse 9.0
    ... make your learning curve in this issue shorter. ... Check the headers for your unsubscription address ... For additional commands send e-mail to suse-linux-e-help@suse.com ...
    (SuSE)