Nov 8, 2009
Pages: 1, 2, 3

How To Hide Your Files In XP - hide doc and folders

free web hosting

Read Latest Entries..: (Post #21) by iGuest on Oct 5 2009, 12:20 PM.
how to retrive the directory back How To Hide Your Files In XP sir  after making the directory hidden by this command "attrib path +s +h" how to retrieve the directory back. If I forget a path and name of directory. But I remember the file name that is in directory.-reply by rohit
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > OS > Windows

How To Hide Your Files In XP - hide doc and folders

harriko
In this tutorial i will show ou how to hide your documents or folders, but you have to remember where it is! ok lets go!

pick a file you want to hide from windows XP, to help you i will hide a file "hidden.doc" in "C:"

open command prompt:
START>RUN>CMD

you might find yourself in your user directory. in the command prompt go into the directory of where your file is going to be hidden.

as my "hidden.doc" is in "C:" i will use "cd.." command to "change directory before" till i get into my C: drive

once your there use the attributes command on the file you are hiding. this is what you put into the command prompt.

CODE
attrib +r +a +s +h hidden.doc


replace the hidden.doc with your own file.

hope you find this useful!

Comment/Reply (w/o sign-up)

ChronicLoser
...okay, say my file is hidden. Then how do i access it again?

And when you say "hidden", is it the same thing as when you right-click>Properties then check the hidden box? Or is this a different type of file hiding? lol

oops, nevermind. I just tried it, and I have no idea where hidden.doc ran off to, lol. Alright, so how do i access the hidden file?

Comment/Reply (w/o sign-up)

miCRoSCoPiC^eaRthLinG
lol.. CHronicLoser.. stop before you kill me.. roflmao.

Anyways, you can use that attrib command over entire directory contents.. So if anyone's ever trying to find out where the hidden files ran off to - if you have any idea about it's containing directory - go in there and do a:

attrib -GetRidOfAllOfThem *.*

naah am just kidding.. doing a attrib -h *.* would suffice

Btw, your files never really get hidden this way - they just fail to show up on a diectory listing with the dir command or in the explorer file view because of their +h or +s attributes. But if you have the Tools > Folder Options > View > Show hidden files and folders in your Windows Explorer turned to ON, all such files become visible immediately. The same can be achieved by using dir /a command in console.

    Incidentally since we are taking about dos based attributes, I'd like to mention one little option that can be used with the "dir" command. It goes like:

dir /o:n /p

Cryptic ?? /o: X - means the ORDER in which you want to files to be displayed. X here can be replaced with anything from
n - for name based alphabetical listing
t - listing where files are grouped according to their type
d - to group files according to date of creation
s - to group them by their sizes


    The last /p option tells dir to display the files PAGE-BY-PAGE so they don't just scroll off the screen without you being able to see the list completely.

    If you don't want to specify these options over and over again, everytime you do a dir, then you can include this syntax in your autoexec.bat file.

SET DIRCMD = /o:n /p

As you can see, this will set an environmental variable that the dir command reads while listing files.

All the best smile.gif

 

 

 


Comment/Reply (w/o sign-up)

Ryan
the best means of hidding a file in XP is keeping it in My Documents, so which other users, unless an administrator, cannot access. The owner screen name's documents can't even be accesses by other admins, along with I think the administrator account, but thats disabled unless you are in safe mode or no other accouts exist, at least in XP home.

Comment/Reply (w/o sign-up)

ChronicLoser
QUOTE (microscopic^earthling @ Feb 16 2005, 12:33 AM)
lol.. CHronicLoser.. stop before you kill me.. roflmao.

Anyways, you can use that attrib command over entire directory contents.. So if anyone's ever trying to find out where the hidden files ran off to - if you have any idea about it's containing directory - go in there and do a:

attrib -GetRidOfAllOfThem *.*

naah am just kidding.. doing a attrib -h *.* would suffice

Btw, your files never really get hidden this way - they just fail to show up on a diectory listing with the dir command or in the explorer file view because of their +h or +s attributes.  But if you have the Tools > Folder Options > View > Show hidden files and folders in your Windows Explorer turned to ON, all such files become visible immediately. The same can be achieved by using dir /a command in console.

    Incidentally since we are taking about dos based attributes, I'd like to mention one little option that can be used with the "dir" command. It goes like:

dir /o:n /p

Cryptic ?? /o: X - means the ORDER in which you want to files to be displayed. X here can be replaced with anything from
n - for name based alphabetical listing
t - listing where files are grouped according to their type
d - to group files according to date of creation
s - to group them by their sizes


    The last /p option tells dir to display the files PAGE-BY-PAGE so they don't just scroll off the screen without you being able to see the list completely.

    If you don't want to specify these options over and over again, everytime you do a dir, then you can include this syntax in your autoexec.bat file.

SET DIRCMD = /o:n /p

As you can see, this will set an environmental variable that the dir command reads while listing files.

All the best :)
*


hmm...i dunno. I always keep my "hidden" option on...yet I couldn't see it after typing in "attrib +r +a +s +h hidden.doc". Nevertheless "attrib -r -a -s -h hidden.doc" revealed the file back to me. I dunno. I'm somewhat ignorant when it comes to dos. Oh well.

Oops, i just realized that I'm not using Windows XP... >_<

Comment/Reply (w/o sign-up)

abhishek
Why use command promt while windows allows you to hide files by just entering into the file properties box and checking the hidden attrib.
And to restoring can also be done without using command prompt.

Comment/Reply (w/o sign-up)

abhiram
Hey, I wrote a tutorial on the same topic not too long ago. There are 2 methods in mine. One of them is this one. Sorry, I didn't know this topic was done before. Here's the post:

http://www.astahost.com/hiding-files-folders-t7128.html

m^e: That's a neat idea, but what do you do about it in winxp? I mean, autoexec.bat is 0 bytes long in mine biggrin.gif. I don't think winxp uses autoexec.bat.

Comment/Reply (w/o sign-up)

Jeigh
Hmm, I'll have to play around with that tonight. Not that I have a use for it, but why not? lol

Comment/Reply (w/o sign-up)

abhay


QUOTE
attrib +r +a +s +h hidden.doc


We can easily set three attributes out of the above four attributes by simply right clicking on any folder or file. They are simply

+r :Read Only
+a : Archive
+h : hidden

and the fourth one "+s " is for system file attribute.
Any file or folder made hidden with this attribute can be made visible by opening
explorer>tools>folder options>view
and then by unchecking on the check box 'Hide Protected Operating System Files' and by showing hidden files simultaneously.

Comment/Reply (w/o sign-up)

joe.k
ooooooh... nice smile.gif
i havent tried it yet but i preffer no to.
it more easier to hide them from properties page smile.gif
guess what the hell i am gona use this option for anyway smile.gif smile.gif
and i am kinda a newbie in CMD command laugh.gif

Comment/Reply (w/o sign-up)

Latest Entries

iGuest
how to retrive the directory back
How To Hide Your Files In XP

sir 

after making the directory hidden by this command "attrib path +s +h"

how to retrieve the directory back. If I forget a path and name of directory. But I remember the file name that is in directory.

-reply by rohit

Comment/Reply (w/o sign-up)

iGuest
How to unhide the hidden file by DOS command
How To Hide Your Files In XP

In the command line replace  "+h" to "-h" to unhide the file

and also , repalace "+r" by "-r" to make your Read only file to simple one

-reply by Tamal Dutta


Comment/Reply (w/o sign-up)

iGuest
to unhide
How To Hide Your Files In XP

hey just use this command to unhide the file...

attrib filename -r -a -s -h

 filename   :    In the filename area you have to enter the filename which you have hidden. 

-reply by hashim

Comment/Reply (w/o sign-up)

iGuest
it\\
How To Hide Your Files In XP

RonelNov 26 2007, 03:08 PM
This ain't new...Even though the dos way is quite nice!

Here is THE simple way!

1. Right-click on the file/folder you want to be hidden(shh!)
2. Click Properties.
3. At the Properties dialog, you will see a entry "Attributes:"(see picture)
4. You will see there a checkbox hidden...Click it!
5. Click OK or Apply.

Easy!



Easy, but not the same effect... If in folder options there is checked the option to view hidden files you;ll can see it... By the first case it's not possible


-reply by Yoan

Comment/Reply (w/o sign-up)

iGuest
see hide folder in doc command
How To Hide Your Files In XP

Sir
I am working in windows 2003 server

-reply by vinit

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3

See Also,

*SIMILAR VIDEOS*
Searching Video's for hide, files, xp, hide, doc, folders
advertisement



How To Hide Your Files In XP - hide doc and folders

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com