Want this question answered?
file attrib
ls -al list hidden file also.Hidden files starting with "."
The attrib command is a Recovery Console command used to change the file attributes for a file or directory while in Recovery Console. An attrib command is also available from the Command Prompt. attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [filename] +r = This assigns the read-only file attribute to the file or directory. -r = This removes the read-only attribute. +s = This assigns the system file attribute to the file or directory. -s = This removes the system attribute. +h = This assigns the hidden file attribute to the file or directory. -h = This removes the hidden attribute. +c = This assigns the compressed file attribute to the file or directory. -c = This removes the compressed attribute. filename = This is the file or directory that you are wanting to change the attributes of.
The attrib command is a Recovery Console command used to change the file attributes for a file or directory while in Recovery Console. An attrib command is also available from the Command Prompt. attrib [+r|-r] [+s|-s] [+h|-h] [+c|-c] [filename] +r = This assigns the read-only file attribute to the file or directory. -r = This removes the read-only attribute. +s = This assigns the system file attribute to the file or directory. -s = This removes the system attribute. +h = This assigns the hidden file attribute to the file or directory. -h = This removes the hidden attribute. +c = This assigns the compressed file attribute to the file or directory. -c = This removes the compressed attribute. filename = This is the file or directory that you are wanting to change the attributes of.
that is the command for system file checker.
A. HiddenA. System
"Hidden" is a file attribute; this is information about the file that shouldn't change when you reinstall the operating system.
The command "attrib +r -h" is used in the command prompt to set a file as read-only (+r) and remove the hidden attribute (-h) from a file. This command can help protect files from being accidentally modified and also make hidden files visible.
Attirb command is used to change the attribute of any file of directory. There are following kinds of attributes in DOS:R - Read OnlyH - HiddenA - ArchiveS - SystemAmong all, Archive (A) attributes applies by default as we create any file or directory. System (S) attribute is reserved for the System Files (IO.SYS, MSDOS.SYS, CONFIG.SYS) of MS-DOS. We can apply Read Only or Hidden attributes to any file or directory to make it read only of hidden. The syntax is as follows:To make file Read Only: attrib +r To make file Hidden: attrib +h To remove Read Only attribute: attrib -r To remove Hidden attribute: attrib -h Similarly we can set/remove Archive (A) or System (S) attributes to file with +a/-a or +s/-s option.
System files are files the operating system needs to function (and they may be hidden). Hidden files are those files that are not displayed when you show a directory listing. A file can be both a system file and a hidden file, but a hidden file does not have to be a system file, nor does a system file need to be hidden.
A hidden file is one that starts with a period (.). These are usually files that always exist, but most users don't want to see them in a file listing. Any file can be hidden from the normal file listing by naming it with a leading period symbol.
A hidden file is any file or directory that starts with the character '.' (period). It is designed to eliminate common files from showing with the 'ls' command. Using the -a option for 'ls' will show all files.