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.14
9728

Hide Desktop Icons Show in Windows 7, Help?

 /

Freeware tool for Windows to see how directorys and files are structured on your disks.

 /

Eine Desktopverknüpfung um den PC schnell in 'Standby' zu versetzen am Windows-7 Desktop erstellen?

 /

Front pages, back pages, sorting, duplex PDF scanning and printing!

 /

Recalculate the windows experience index at any time!

 /

Enable automatic backup Windows 8.1 and 10 (create a File History)?

 /

Zusatzleiste in die Windows 7 Taskleiste hinzufügen?

 /

A Magnificent and Great Digital Desktop Clock for all MS Windows OS!

 /

Change the default action of pressing WIN+E to start Q-Dir and not explorer.exe on Windows 7 and Windows 8?

 /

Add my text plus what is in the clipboard, example!

 /

Remove Bad APPs from Windows-10 (uninstall, delete)!

 /

Help, no desktop shortcuts are possible on Windows 8.1 / 10, what am I doing wrong?

 /