Failed to show hidden path

Closed
dontcomecloser - Apr 22, 2012 at 10:00 PM
 davidyango9 - Sep 4, 2012 at 10:55 PM
Hello,

it doesn't work...T^T

it said : invalid switch - -s/s/d

how bout that..pleaaaase help...

thanx..

1 response

jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020
Apr 23, 2012 at 06:27 AM
Greetings,

Please provide full information regarding your problem to help you.

Regards
1
Hi,

The command above is spelled wrong. It should be
attrib -r [drive:]*.* /s /d
don't forget the space between /s and /d

Just wanted to share in case someone has a a similar issue like my customer where all files and directory were hidden and the hidden attribute was greyed out.
This means the files and folders are classified as system folders, to fix this use:

attrib -s -h [drive:]*.* /s /d
this will change the attribute on all directory and folder in the specified drive letter including subdirectory.

or use:
attrib -s -h [drive:][Path]*.* /s /d
to change only files in a specified path or directory

do not use this on you c: drive because it will completely expose all system folders which in most cases is not a good idea.
Use it for specific files and folders or USB drives where files are hidden or wrongly classified as system files.
0