Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

II. attrib ( r|-r| ) .| .| .


May 22, 2021 DOS Command learning manual



The default attrib name shows the file's (file) properties


attrib io .sys (or subdirectt)


shr c:\ i o .sys specified as a system (s) implied (h) read-only (r) file


You can also attrib .sys file properties with the extension sys


The parameter, |-r, sets or dismisses the read-only property


Set or | file properties by setting or unfiled properties


Set or un| file properties (especially for subdirecties)


The /s parameter works for all files in the current and current subdirectts


Can be used to find files


Example:


Attrib news86 column news86 document properties


The attrib-r report .txt set to read-only attrib -s -h record.txt


attrib +a a:*.*


attrib -a a:*.bak


xcopy a: b: /a Files that are marked with the Archive attribute on disk A to disk B


xcopy a: b: /m tortures all the files on the A disk behind the B disk and removes the archive properties