Hiding a file through Command Prompt

SHARE:

You must have used the feature of hiding some files through the menu ribbon bar present at the top of the file manager window. But do you know the fact that this can be done also with the help of Command Prompt? But how is this possible? That's not so difficult when you follow me. So let's do it.
 First of all, get ready with your file/folder, reach to its parent folder. Suppose your file/folder is named as "Rybersoft" and is saved in "G:\" drive then the same drive will be its parent.
After finding its parent folder, while holding shift key right click on it (parent folder). After that, you just select the option 'open command window here'. And now you are ready to proceed to the next step. Before proceeding, remember the name of the file that is going to be hidden for recovery of that file/folder.
After you're ready with the command prompt window, type the code given below and hit the enter key.
attrib +s +h "folder name"
Note: You have to replace "folder name" with the name of your folder. Remember that you have to type this code in the command window opened at the parent folder of the file/folder you want to hide.
No sooner than you enter this code you will find your file hidden. To see its effect, just refresh your PC.
To get back or recover your file just type the code given below and press enter.
attrib -s -h "folder name"
After refreshing, you will find your file back. Note that you have to remember the file name otherwise you will not be able to unhide your file.
Commnad Prompt





Thank you for reading and hope this post works well for you. If you think this post a drop in the world of tricks then please share it. Thanks a lot.... - :) - :)

Also read some other command prompt tricks,
how to find the Currently logged Username.
how to restrict users to remain logged in a fixed time interval.
Create-Bootable-USB-Using-Command-Prompt-In-Windows

About Suryansh Prabhakar:

A software explorer and programmer, Suryansh loves to explore the Windows OS and all the utilities and packages that work on this platform. A programming enthusiasts that loves to build Windows friendly programs with C++ and Java.

Follow him @ Twitter | Facebook

COMMENTS

Name

3d,1,4G net,1,Accessibility,3,Add an Internet Explorer Bookmark to your Windows 8 Start Screen,1,Ads,1,Aircel,1,Airtel,3,an,1,Andriod tricks,9,Android,52,Android hacking,4,Android hacks,7,Android tips,3,Android trick,3,android tricks,7,Apple,2,BitTorrent,1,block adds in non rooted android phone,1,Blogging,1,Bluestacks trick,1,bootable Pendrive,1,Booting Linux,1,Bsnl tricks,1,BusyBox,1,bypass age verification on YouTube,1,C++tricks,1,caller tune,1,Camera,1,Change Your Name in Windows,1,chrome tricks,4,Cloud tricks,2,Command prompt,6,command prompt tricks,9,Cool Facebook Tricks,3,Cool Google hangouts Tricks,1,Cracked softwares,2,create new scheduled task in windows,1,Creators Update,1,Creators' Update,1,Customization,2,CyanogenMod,1,damaged screen,1,delete dial up connections in windows,1,Detecting keyloggers?,1,difference between WiFi and LiFi.,1,Disable JavaScript in Google chrome,1,disable snap options,1,Disable USB ports on Windows PC via Registry Editor,1,Disable Windows Update's Automatic Restart,1,diskpart,1,Download Facebook Videos offline,1,drive,1,Editing zone,2,email tricks,1,Facebook,7,Facebook profile to page conversion,1,Facebook tricks,4,FB Tricks,3,firefox,1,free,1,Free Call,1,free net,4,Free recharge,1,free sms,1,Freecharge,1,game cracking,3,gaming,10,Get YouTube Red features on your iPhone,1,get YouTube red for free,1,gmail,2,Google,4,Google Account,2,google accounts,1,Google analytics tricks,1,Google maps,1,Google Now,1,google tricks,3,hack android remotely using Kali Linux,1,hacking,10,hacking tricks,2,Hacking using keyloggers,1,how to,1,How To Block Snip.to From Your Google Analytics Data,1,How to check for hacked wifi,1,How to download Facebook videos,1,How to enable full screen start in windows 10,1,How to find windows 10 version details,1,How to install android device drivers for any phone,1,How to Receive files in Dropbox from a non-Dropbox users with a URL?,1,How to root Android,1,how to take screenshots,1,How to Turn On or Off Automatic Device Driver Installation in Windows 10,2,Instagram tricks,1,Install device drivers of android phones.,1,internet,24,Internet Explorer,1,internet explorer tricks,1,internet tricks,10,iOS,6,iPad,2,iPhone,10,iPhone tricks,2,iTunes,1,Jio,3,keyboard,1,Keyboard Shortcut,3,keyboard trick,1,Keyloggers,1,keyloggers complete guide,1,laptops,4,lenovo,1,LG G5,1,LiFi,1,Mac,1,Mac address spoofing,1,memory card,1,Messanger,1,Micromax tricks,1,MS Word,2,Music,1,Notepad,1,Notepad tricks,1,ola trick,1,Pc,3,pc tricks,12,phone tricks,1,Play Music,1,PlayStore,8,Pokeman Go,1,Power iSO,1,Privacy,11,programming tricks,1,Protect wifi from being hacked,1,recover deleted files using Recuva,1,Recover permanently deleted files,1,Registery tweaks,6,Reliance,1,Removing write-protection using Diskpart,1,Rishabh Ryber,10,rooted,8,Rooting Android without PC,1,Rybersoft,12,Samsung,2,Scheduled tasks in windows,1,screen casting,1,screen recording,1,Security,1,setup keyloggers,1,Sharind files,1,Smart lock in lollipop,1,Smartphone,1,smartphone tweaks,1,social media,1,Special,14,Speed up Google chrome,2,Spying Whatsapp,1,Steps to find windows 10 build number and other details,1,tablets,1,tech guide,1,tech news,1,Telegram,4,tips,1,Torrent,4,trick,1,Tricks,4,Two Tweaks To Boost Up Google Chrome in Android,1,Universal Id And Password Of Alan Walker Website w41k3r.com,1,Unlimited call,1,usb tricks,1,Use face lock in android phone,1,use whatsapp on normal phone,1,Useful Registry tweaks by Rybersoft,1,Using write protected pendrive,1,uTorrent,2,vlc,1,VLC TRICKS,4,VPN,1,Watch age restricted videos,1,web,1,webbrowser,2,what is keylogger?,1,what is LiFi,1,whatsapp,8,Whatsapp hack,1,whatsapp tricks,2,Whatsapp Tricks.,2,Wi-Fi,4,WiFi tricks,4,windows,26,Windows 10,11,windows 10 snap disabling,1,Windows 10 tricks,9,Windows 8 and 8.1 Hacks,1,Windows hacking,4,Windows Hacks,7,windows tricks,42,Windows Update,1,Xiaomi,1,Xposed Framework,7,YouTube,2,YouTube tricks,4,
ltr
item
RyberSoft: Hiding a file through Command Prompt
Hiding a file through Command Prompt
https://4.bp.blogspot.com/-CYkHDWYVRRQ/Vze8zkTIWuI/AAAAAAAAATo/iFyk8Vl_w6QvQvXIIA7BuPfDZyq-jX61QCK4B/s400/Ryber1.GIF
https://4.bp.blogspot.com/-CYkHDWYVRRQ/Vze8zkTIWuI/AAAAAAAAATo/iFyk8Vl_w6QvQvXIIA7BuPfDZyq-jX61QCK4B/s72-c/Ryber1.GIF
RyberSoft
http://www.rybersoft.com/2016/05/hiding-file-through-command-prompt.html
http://www.rybersoft.com/
http://www.rybersoft.com/
http://www.rybersoft.com/2016/05/hiding-file-through-command-prompt.html
true
1459016836896156319
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy