Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> How To Hide Your Files In XP, hide doc and folders
harriko
post Feb 15 2005, 08:49 PM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 279
Joined: 2-February 05
From: UK
Member No.: 2,480



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!
Go to the top of the page
 
+Quote Post
ChronicLoser
post Feb 16 2005, 04:29 AM
Post #2


Premium Member
Group Icon

Group: Members
Posts: 240
Joined: 13-November 04
From: Arizona
Member No.: 1,356



...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?
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Feb 16 2005, 07:33 AM
Post #3


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



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.

    [/tab]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


[tab]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
Go to the top of the page
 
+Quote Post
Ryan
post Feb 16 2005, 03:58 PM
Post #4


Member - Active Contributor
Group Icon

Group: Members
Posts: 87
Joined: 27-January 05
Member No.: 2,360



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.
Go to the top of the page
 
+Quote Post
ChronicLoser
post Feb 27 2005, 08:46 PM
Post #5


Premium Member
Group Icon

Group: Members
Posts: 240
Joined: 13-November 04
From: Arizona
Member No.: 1,356



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.

    [/tab]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


[tab]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... >_<
Go to the top of the page
 
+Quote Post
abhishek
post Aug 15 2005, 04:41 PM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 28
Joined: 13-August 05
Member No.: 7,827



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.
Go to the top of the page
 
+Quote Post
abhiram
post Aug 15 2005, 05:03 PM
Post #7


Hedonist at large
Group Icon

Group: Members
Posts: 610
Joined: 30-July 05
From: another realm
Member No.: 7,524



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.
Go to the top of the page
 
+Quote Post
Jeigh
post Aug 15 2005, 05:27 PM
Post #8


Whitest Black Mage
Group Icon

Group: [MODERATOR]
Posts: 1,301
Joined: 20-May 05
From: NB, Canada
Member No.: 5,281



Hmm, I'll have to play around with that tonight. Not that I have a use for it, but why not? lol
Go to the top of the page
 
+Quote Post
abhay
post Dec 23 2006, 05:56 AM
Post #9


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 34
Joined: 13-August 06
Member No.: 15,185





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.
Go to the top of the page
 
+Quote Post
joe.k
post Dec 23 2006, 12:48 PM
Post #10


Member [ Level 2 ]
Group Icon

Group: Members
Posts: 64
Joined: 21-December 06
Member No.: 18,611



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
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Registry Configuration Files And The Corruption Problem(0)


 



- Lo-Fi Version Time is now: 4th July 2008 - 04:24 PM