|
Sets or displays file attributes.
ATTRIB [ħR][ħA][ħS][ħH] [[drive:][path]file] [/S] |
|||||||||||||||||||||
|
>attrib -a *.* /s |
Reset the archive bit in all files in current directory and all subdirectories. |
>attrib +r a:\doc\*.bak |
Write-protect all *.bak files in the directory \doc\ on drive A. |
C:\>attrib *.txt
A H SETUPLOG.TXT C:\SETUPLOG.TXT
A SH NETLOG.TXT C:\NETLOG.TXT
A LOGFILE.TXT C:\LOGFILE.TXT
A H BOOTLOG.TXT C:\BOOTLOG.TXT
A SETUPXLG.TXT C:\SETUPXLG.TXT
|
Display attributes for all *.txt-files |