Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Change the file attributes, hidden, protected via command line in Windows!


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?
which explains a lot of things!


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: 11 August 2021 14:54 Windows
Windows-Console

Start two or more programs at the same time from the command prompt!


Starting two or more programs at the same time from the command prompt is pretty easy on Windows 11, 10, etc. Even if this function is not as advantageous
Windows-Console

Synchronize the clock on your Windows 11, 10, ... etc. with a www time server!


Using the command line it is also easy to synchronize your MS Windows OS with a www time server The simplest method for synchronizing with a time server
Windows-Console

Group policy update on Windows 11, 10, ... command line!


After changing the group policy, you can force an immediate update via the Windows 11, 10, or MS Server OS command line If you make a change in group
Windows-Console

Resolve problems with wireless networks by resetting TCP / IP!


It is easy to fix any problems with wireless networks via the cmd.exe command line by resetting the TCP / IP on Winsows 11, 10, and MS Server OS Case
Windows-Console

The PowerShell command to shut down the computer!


You can also use a PowerShell command to shut down the computer on all Windows 11, 10, Desktop and Server OS Everyone probably knows shutdown in the
Windows-Console

REN command to rename files, examples command prompt!


Practically the REN command to rename files, here are a few examples in the cmd.e / command prompt under Windows 11, 10, etc. This short renaming
Windows-Console

Adjust the maximum processor frequency with Power-Shell!


Its easy to adjust the maximum processor frequency with Power Shell MS Windows 11, 10, and Server On the Microsoft website there are useful tips on

»»

  My question is not there in the FAQ
Asked questions on this answer:
Keywords: windows, 11, 10, console, change, file, attributes, hidden, protected, command, line, standard, procedure, familiar, everyone, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + ClassicDesktopClock
  + PreventTurnOff
  + QuickMemoryTestOK
  + IsMyHdOK
  + AutoPowerOptionsOK
  + OneLoupe
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.077


► Use specific icon layout for windows startup! ◄

► Windows 10/11 desktop icons are so big, why, how to change this? ◄

► What is a char? ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....