Almost like under Linux and MAC OS, you can simply change the file attributes on Windows via the command line!The standard procedure is familiar to everyone, to view or change the attributes of a file, right-click the file, and then click Properties. In the "Attributes:" section, activated attributes are provided with checks. Add or remove the reviews to Read Only, Archive, or Hidden to enable or disable these options. If you want to change the system attribute, you have to do it at the command prompt! To determine which attributes are enabled for a file, you need to use the attrib command at the command prompt. Enter the following in the directory in which the file is located:
attrib C: \Full-Path\File.txt But have found that here is a comprehensive description: ►► How can I hide the file status via the cmd? Overview of the parameters of "ATTRIB" Microsoft Windows [Version 10.0.22000.120] (c) 2021 Microsoft Corporation. All rights reserved. C: \ Users \ Nenad> ATTRIB /? Displays or changes file attributes. ATTRIB [+ R | -R] [+ A | -A] [+ S | -S] [+ H | -H] [+ O | -O] [+ I | -I] [+ X | -X] [+ P | -P] [+ U | -U] [drive:] [path] [filename] [/ S [/ D]] [/ L] + Specifies an attribute. - Deletes an attribute. R attribute for "read-only file". A attribute for "archive file". S attribute for "system file". H Hidden file attribute. O attribute for "offline". I Attribute for "file with no indexed content". X attribute for "no scrubbing file". P attribute for "pinned". U Attribute for "Detached". B Attribute for "SMR-BLOB". [Drive:] [path] [filename] Specifies the files to be processed for the attribute. / S Processes corresponding files in the current folder and all subfolders. / D Process folders too. / L Processes the symbolic link attributes instead of the symbolic link destination. C: \ Users \ Nenad> FAQ 77: Updated on: 26 August 2023 12:45 |