Want to unhide my file.

Closed
Himanshu Singh - Nov 15, 2015 at 12:10 AM
jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020 - Nov 15, 2015 at 10:09 PM
Hello,
gm sir,
I have three drives C,D and H. In H drive I use (ATTRIB) command to hide one of my file. I can see that file through CMD (dir/ah) but when I am unhide that same file(attrib -h -r -s /s /d d:\*.*)Hi it shows (access denied). sir please help me out.

Related:

1 response

jack4rall Posts 6428 Registration date Sunday June 6, 2010 Status Moderator Last seen July 16, 2020
Nov 15, 2015 at 10:09 PM
Hello,

Try this 1.

1) Make sure that you have opened the "Command Prompt" as "Run

as administrator"

Click on Start --> In search box, type cmd --> Then "CMD" will be

displayed in the search --> Now right-click on "CMD" ---> Select "Run as

administrator".

Now try the attrib command.

As you have mentioned, if below is the command that you are entering then

you are trying to execute the command for the D-Drive but not H

attrib -h -r -s /s /d d:\*.*

If H is your drive then enter the below command

attrib -h -r -s /s /d h:\*.*

Note: The above command will display all the files\directories. If you are

looking to unhide only a particular file then

attrib -h -r -s /s /d filename

Alternative Method :

Click on Start --> In search box, type control folders and press Enter.

Now select the option "Show hidden files, folders or

drives
" and uncheck the check box "Hide protected

operating system files
" --> Click on "OK" button.

Now look for the hidden files\folders in your drive.

Later undo the changes you have made by once again going to "Folder

Options" --> Click on "View" tab and click on "Restore Defaults" button

--> Click on "OK".

Good Luck
0