- Quick links About attrib Availability Attrib syntax Examples. - Extended Information About attrib. - Using attrib, the user has the capability of changing the file to have any of the below attributes. - Readonly allowing the file to be only viewed and not written to. - Hidden making the file invisible to standard users.. - System making the file an important system file.. - The attrib.exe command is an external command that is available in the below . - Microsoft operating systems.. - MSDOS 3.0 and above Windows 95. - Windows 98 Windows ME Windows NT Windows 2000 Windows XP . - MSDOS. - Operating systems. - Microsoft Windows 95, 98, and ME syntax. - Displays or changes file attributes.. - Sets an attribute.. - Clears an attribute.. - R Readonly file attribute.. - A Archive file attribute.. - S System file attribute.. - H Hidden file attribute.. - /S Processes files in all directories in the specified path.. - Microsoft Windows 2000 and Windows XP syntax. - Microsoft Windows 2000 and Windows XP recovery console syntax. - Note: The below options are the available options in the Windows recovery console.. - ATTRIB R | +R | S | +S | H | +H | C | +C filename + Sets an attribute.. - C Compressed file attribute.. - Typing attrib by itself will display all files in the current directory and each of their attributes. - If any file is hidden it will also display those files.. - attrib +r autoexec.bat. - Add the readonly attribute to the autoexec.bat file so it cannot be modified until the read only attribute is taken off. - This is helpful for important system files or any other file that you do not want to have mistakenly edited or changed by another program.. - attrib +h config.sys. - Add the hidden attribute to the config.sys file causing it to be not be seen by the average user.. - attrib h config.sys. - This command will do the opposite of the above command. - Instead of hiding the file it will unhide the file if hidden.. - Additional examples and information about displaying hidden files in MS. - Extended information. - See our File attributes computer dictionary definition for additional information about file attributes.. - DOS directory file attribute bit position and Hex Value:. - x Description h Read Only file h Hidden file h System file h Volume Label h Subdirectory h Archive h Reserved h Reserved Examples. - h Read Only, Archive. - h Hidden, Subdirectory, Archive h Read Only, Hidden, Archive
Xem thử không khả dụng, vui lòng xem tại trang nguồn hoặc xem
Tóm tắt