What can the command ATTRIB?


 
ColorConsole [Version 1.3.3000]
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\WINDOWS>HELP ATTRIB
Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
      [/S [/D]]

 +   Sets an attribute.
 -   Clears an attribute.
 R   Read-only file attribute.
 A   Archive file attribute.
 S   System file attribute.
 H   Hidden file attribute.
 [drive:][path][filename]
     Specifies a file or files for attrib to process.
 /S  Processes matching files in the current folder
     and all subfolders.
 /D  Processes folders as well.





EXAMPLE
clear attributes (-H)Hidden (-S) System

ATTRIB -S -H RECORD.TXT



add attributes (-H)Hidden (-S) System

ATTRIB S H RECORD.TXT



Show attributes. (*.*)

C:\WINDOWS\system32>ATTRIB
A          C:\WINDOWS\system32\bootvid.dll
A          C:\WINDOWS\system32\kdcom.dll
A          C:\WINDOWS\system32\c_1252.nls
A          C:\WINDOWS\system32\c_437.nls
A          C:\WINDOWS\system32\l_intl.nls
A          C:\WINDOWS\system32\lz32.dll
A          C:\WINDOWS\system32\spupdwxp.log
A          C:\WINDOWS\system32\oleaut32.dll
A          C:\WINDOWS\system32\olesvr32.dll
A          C:\WINDOWS\system32\olethk32.dll
A          C:\WINDOWS\system32\unicode.nls
A          C:\WINDOWS\system32\vga.dll
A          C:\WINDOWS\system32\ctype.nls
A          C:\WINDOWS\system32\kbdus.dll
A          C:\WINDOWS\system32\netevent.dll
A          C:\WINDOWS\system32\msacm32.drv
A          C:\WINDOWS\system32\netmsg.dll
A          C:\WINDOWS\system32\wpa.dbl
A          C:\WINDOWS\system32\stclient.dll
A          C:\WINDOW.......................
...........................................



Show attributes. (*.exe)

C:\WINDOWS\system32>ATTRIB *.exe
A          C:\WINDOWS\system32\append.exe
A          C:\WINDOWS\system32\arp.exe
A          C:\WINDOWS\system32\asr_ldm.exe
A          C:\WINDOWS\system32\asr_fmt.exe
A          C:\WINDOWS\system32\bootok.exe
A          C:\WINDOWS\system32\bootvrfy.exe
A          C:\WINDOWS\system32\chkdsk.exe
A          C:\WIND.......................
.........................................



C:\WINDOWS>HELP BREAK
Sets or Clears Extended CTRL+C checking on DOS system

This is present for Compatibility with DOS systems. It has no effect
under Windows XP.

If Command Extensions are enabled, and running on the Windows XP
platform, then the BREAK command will enter a hard coded breakpoint
if being debugged by a debugger.



C:\WINDOWS>HELP CACLS
Displays or modifies access control lists (ACLs) of files

CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
              [/P user:perm [...]] [/D user [...]]
  filename      Displays ACLs.
  /T            Changes ACLs of specified files in
                the current directory and all subdirectories.
  /E            Edit ACL instead of replacing it.
  /C            Continue on access denied errors.
  /G user:perm  Grant specified user access rights.
                Perm can be: R  Read
                             W  Write
                             C  Change (write)
                             F  Full control
  /R user Revoke specified user's access rights (only valid with /E).
  /P user:perm  Replace specified user's access rights.
                Perm can be: N  None
                             R  Read
                             W  Write
                             C  Change (write)
                             F  Full control
  /D user       Deny specified user access.
Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.

Abbreviations:
  CI - Container Inherit.
       The ACE will be inherited by directories.
  OI - Object Inherit.
       The ACE will be inherited by files.
  IO - Inherit Only.
       The ACE does not apply to the current file/directory.




GOTO : HELP CALL








Windows-10





Windows-10

... facebook.de
... Windows-10 FAQ
... Windows-10 Info


Become a Sponsor
... Your button here?





The command ATTRIB - Displays or changes file attributes.

HTTP: ... console/en/003.htm
0.124
9728

Create horizontal line in Microsoft Word, example!

 /

Disable auto start of the speech recognition in Windows 8.1 (turn off)?

 /

Can I set custom color, width of windows border in Win-8, 8.1 and 10?

 /

Create Desktop shortcut for Windows-8/10 Defender and pin to start menu!

 /

A Stress Test for the Windows Computer: processor, graphics and hard drive!

 /

Is portable use of DesktopOK possible ho to find the DesktopOK.ini?

 /

Wie liste ich aller Benutzer auf, über die cmd.exe (Eingabeaufforderung)?

 /

Desktop-Verknüpfung für das Ausführen-Dialog unter Windows 10 (Befehle)?

 /

Enable, Confirm Dialog when delete files or folder in Windows 10, how to?

 /

Im Energiesparmodus von Windows-7 das Kennwort bei Reaktivierung anfordern, deaktivieren?

 /

Warum bewertet Windows 7 meinen PC mit einem Leistungsindex?

 /

Turn off the left desktop corner APP switcher in Windows 8.1 / 10 (screen, disable)!

 /