DIGIT-ARC read-only archive · snapshot: July 23, 2026

Make file invisble

17 posts · originally from https://geek.digit.in/community/threads/make-file-invisble.75937/

V
vaibhavtek Original post #1
Dec 17, 2007 at 9:43 AM
Hi Friends,

By following this tutorial u can make ur file invisible to everyone but visible to u. :shock:

Just follow:-
-------------------------------
If you want to hide a file that no one can see the file except you, here is the process.:-

1. Open a notepad and write down
@echo off
cls
attrib +r +h +s drive:\WRITE THE LOCATION OF FILE.file extension
exit
2. save it as bat file(ex. hide.bat)
3.Run it


To show the hidden files:-

1.Open a notepad and write down
@echo off
cls
attrib -r -s -h drive:\WRITE THE LOCATION OF FILE.file extension
exit
2.Save it as bat file(ex. show.bat)
3.Run it

Note:-It cannot be viewed by folder option > "Show Hidden Files"; this tip is the great point of this tutorial. :shock:

But will be shown by "Show System File" but no one will know that ur file is a system file.
---------------------------------
Please reply whether u like this tut. or not.:rolleyes:
anand1
anand1 #2
Dec 17, 2007 at 9:55 AM
It's not working for me. I have the following thing. I made a text doc named a.txt in my C:\ and tried to hide it with the following code.

@echo off
cls
attrib +r +h +s drive:\C:\a.txt
exit

and saved it as a.bat and ran the same but nothing happened dude.
V
vaibhavtek #3
Dec 17, 2007 at 12:02 PM
Type this:-

@echo off
cls
attrib +r +h +s C:\a.txt
exit


drive letter in my tut says location of the drive and ur file location is C:

Hope u understand what i mean.
anand1
anand1 #4
Dec 17, 2007 at 12:10 PM
Wait a min...........

Ya nice one man. It's really working. Thanks for this nice tip.
V
vaibhavtek #5
Dec 17, 2007 at 12:45 PM
thanks for so good comments.
waiting for comments of others members.
DR RANJAN
Dec 17, 2007 at 12:47 PM
good tric u convert file into hidden system file...that can be visible through folder option!
V
vaibhavtek #7
Dec 17, 2007 at 12:55 PM
@DR RANJAN

it cannot be viewed by folder option; this is the great point of this tutorial.
Just try it and then reply ur views.
P
Dec 18, 2007 at 8:41 PM
it shows with the folder option.

try urself
V
vaibhavtek #9
Dec 19, 2007 at 7:21 AM
ya
if we enable "Show Hidden Files" then it doesnot but if we enable "Show system file" then it.
but no one will know that ur file is a system file.

edited my tut.
V
valtea #10
Jan 13, 2008 at 12:10 AM
nick trick. Wi\onder if it will work with just the +s
skeletor
skeletor #11
Jan 13, 2008 at 2:04 PM
We can do the same by going to the folder which contains the file we want to hide using Command Prompt and then typing:

attrib +r +h +s abcdefg.xyz

or Simply

attrib +r +h +s PATH
V
vaibhavtek #12
Jan 13, 2008 at 2:26 PM
ya that also
T
The Conqueror #13
Jan 13, 2008 at 5:07 PM
Nice Trick Works for me :D
nvidia
nvidia #14
Jan 13, 2008 at 5:22 PM
Very nice trick...*gigasmilies.googlepages.com/36a.gif
Thanks for sharing Vaibhavtek *gigasmilies.googlepages.com/31a.gif
V
vaibhavtek #15
Jan 13, 2008 at 5:44 PM
thanks *gigasmilies.googlepages.com/42a.gif
V
vaibhavtek #16
Jan 16, 2008 at 2:25 PM
thanks *gigasmilies.googlepages.com/42a.gif
Rollercoaster
Jan 16, 2008 at 2:51 PM
dont mean to ruin ur roll but this is a lame and old 'trick'.

not even a trick. it has been there since the dos days.
you wont believe how many variants of this exist on the net.
like the Alt+255 variant, the file.{GUID} variant, the permission variant and so on n on n on.. all to hide a file using some command line :)