How to hide and show files in windows using Attrib command?

Somtimes we store personel data or sensitive data in office or personnel machines. So we need a way to keep the data away from
others eyes. How to do?

To hide the files or folders, normally we use either
external tools or windows show or hide files and folders option.

Here is the different way to hide the files and folders using Attrib command.

1. Login as administrator.
2. Keep the files and folders you want to hide in the particular folder. For example c:\mydata.
3. Start-> type CMD and enter to command prompt.
4. In the command prompt type: attrib +s +h c:\mydata.

That's it!

You can't view the hidden folder in explorer. Even using the show hidden files option!.

Ok, now want to view the hidden data, how to do?

1. Login as admin.
2. Go to command prompt.
3. Type attrib -s -h c:\mydata

Now you can view hidden files in the c:\mydata folder.

You may be interest in
 Hide and show the element
 JQuery: How to hide and delete element?
 jQuery have hide and show to hide and show the elements.
 How to hide the parent element of current one in JQuery?
 How to get the checkbox label value?
 How to check the perl Module already installed or not?
 how to get the type of variable in perl?
 how to convert the DBIx::Class::Resultset to hash?
 how to get older code from hg?
 How to see hidden files in windows XP and Vista?
 How to record and repeat the steps in vim
 How to transfer Putty session to other machine?
 How to detect HIDDEN CAMERA in trial rooms..........
 How to remove the event attached with the element using unbind ?
 How to assign css styles for form elements or remove from the css?
 How to save other than english language text in notepad?
 How to block your lost mobile
 How to Safely Remove Hardware, If the Safely remove option not available in System Tray?
 How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
 How is a typical DB2 batch program executed ?
 How to merge two hash?
 How to get the Unix version, OS, kernel and machine details?
 How to add two field in easytrieve / eztrieve / ezytrieve
 How to remove files permanently from hard disk?
 How to set serial number in the particular column or Row?
 How to Sort Multi Column Excel sheet
 How to make the case changes in Excel?
 How to merge columns in Excel?
 How to test mobile site using mozilla firefox?
 How to split the sentence or names in Excel using space / tab / comma /semicolon / specify character / by fixed length
 How to delete cookies in Internet Explorer and Mozilla Firefox?
 How do you remove the duplicate items in the file in linux?
 How to concatnate / join two or more cells/columns in excel?
 How to set status while redirecting the page in perl?
 How to change the string to lower case or upper case in perl?
 How to get the value in between <td> tag using id
 How to get the value in between <td> tag using id
 How to get the number of rows in the html table?
 How to get the number of rows in the html table?
 How to get the browser name?
 How to concatenate string in javascript?
 How to split the string in javascript
 How to make the text box as readonly field in JQuery?
 How to check the checkbox is checked in JQuery?
 How to change the readonly field to edit/writable field?
 How to make the command run in background linux?
 How to access the command line parameters/arguments in perl?
 How to create cookies in perl?
 How to redirect page in Perl?
 How to check the key exists in the hash?
 How to create constant in perl?
 How to get the type of the variable in the javascript?
 How to remove space in the end of the string?
 How to find duplicate value in specific column ?
 How to count the number of options available in the select box?
 How to concatenate or join two lines in vim editor?
 How to search all html files and replace <p> with <span> tag?
 How to search pattern exist in the input files in linux / unix
 How to get the disk usage in sorting order ?
 How to get the type of the file in unix?
 How to find difference between to revision in mercurial HG?
 How to find the records count in particular file.
 How to check in particular file had empty or not.
 How to bind/link multiple elements to single function in jQuery?
 How to check the system stats in unix box?
 How to send mail in perl?
 How to find which php.ini used in console?
 How to remove line break in perl?
 How to use subscript in easytrive
 How to create item list in drupal 7
 How to change the Max connection in MySQL
 How to declare group data by using easytrive
 How to WRITE group data in output file by using easytrive
 How to change the number of concurrency threads in MySQL
 How to get last n number of commit log from svn
 How to find which php is used or where the php located in command line?
 How to check particular php extension installed in linux?
 How to use the jquery datepicker in drupal 7
 How to install extension php?
 How to use Database Call by using easytrive?
 How to read Database through input file by using easytrive?
 How to use DB2 Call by using easytrive?
 How to enable/change auto saving option in word and Excel?
 How to include the scrollbar to the div tag?
 How to loop array in jQuery?
 Linux / Unix : How to remove ^M character in the files created in windows system?
 Windows: How to see the system information in command prompt?
 The windows startup takes lot of time? check this
 Clean duplicate files - img, vdo, doc,xls, mp3... in windows
 Javascript Unit Test Using FireUnit
 Drupal Scheduling post using Scheduler Module
 Example for get and set the value to form element using JQuery
 Sort using multiple column
 Drupal : Google AdSense implementation using Blocks
 Easytrieve -To find the records using two files
 Perl : Find and Replace in the multiple files using the Perl single line command
 Split using Sort
 DB2: What is a NULL value? What are the pros and cons of using NULLS?
 Don't have hot items using Paper cups
 Total the column for signed byte fields by using easytrieve
 Total the column for signed byte fields and retrieve the value from IMS using easytrieve
 Using easytrieve print the report with SYSTEM date
 Using the javascript in browser addressbar
 using header to set the cookies
 We can set expiry using header
 JQuery - How to get the rows of the table using the table id
 JQuery - How to get the rows of the table using the table id?
 using redirect function
 find the file and delete it using unix single command throws "find: incomplete statement error" when i run inside perl Program?
  one of my application running in apache and created using perl. When i view the pages in Internet Explorer, it shows the web pa
 Write multiple output files based on criteria by using easytrive.
 By using input file how to read database through easytrive
 By setting the readonly attribute value to false we can achieve this
 Converting the attributes from drupal 6 to drupal 7
 Top 15 commands to know in Linux /Unix
 Most frequently used commands in mainframe sort
 Widely used Network Commands
 Linux / Unix find command with various options
 linux / Unit How to find the difference between two files? diff command
 Unix or Linux How to get the previously executed command and repeat it ?
 Vim - execute command inside vim
 RUNSTATS Commands in DB2
 Linux / Unix : What command used to see the login and logout information?
 Linux / Unix : sqlplus in command prompt
 Linux / Unix : Difference betwen kill, pkill, kill -9 , pkill -9 command
 CVS Commands Quick Reference
 DB2 : FREE command?
 Reverse search command
 use & symbol at the end of the command
 use \\ in the end of find command
 In linux and solaris unix, we have a command called "file" to get the type of file.
 Unix: tee command and its usage
 Linux / Unix - cut command