About Us
American Interests
Arizona Regional
Biocybergenics
Convergence Zone
Free Stuff - E-groups
Home
Internet Investigations
Naradamotive
Psionic Guards
Site Search
Social Unrest
Universal Wholesale
Webmaster's Lounge
XP COMMAND DESCRIPTION
APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





ATTRIB Display and change file attributes.
Displays or changes file attributes.

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

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S  Processes files in all directories in the specified path.

EXAMPLES

attrib +r autoexec.bat - This would make the autoexec.bat so it cannot be modified until the read only attribute is taken off.

attrib +h config.sys - This would make the config.sys hidden so to the average user this file would not be existent however if the attrib command it typed alone "attrib" this will show any hidden files.

attrib -h config.sys - This command will do the apposite of the above command. Instead of hiding the file it will unhide the file if hidden.

EXTENDED INFORMATION

See our File attributes computer dictionary definition for additional information about file attributes.

DOS directory file attribute bit position and Hex Value:

Bit Positions
7 6 5 4 3 2 1 0 Hex  Description
0 0 0 0 0 0 0 1 01h Read Only file
0 0 0 0 0 0 1 0 02h Hidden file
0 0 0 0 0 1 0 0 04h System file
0 0 0 0 1 0 0 0 08h Volume Label
0 0 0 1 0 0 0 0 10h Subdirectory
0 0 1 0 0 0 0 0 20h Archive
0 1 0 0 0 0 0 0 40h Reserved
1 0 0 0 0 0 0 0 80h Reserved
Examples    
0 0 1 0 0 0 0 1 21h Read Only, Archive
0 0 1 1 0 0 1 0 32h Hidden, Subdirectory, Archive
0 0 1 0 0 1 1 1 27h Read Only, Hidden, Archive

The command is short for ATTRIB -a -h -r - s *.* (removes all attributes of a file).  
ABOUT ATTRIB

Attrib allows a user to change the properties of a specified file. Using attrib the user has the capability of changing the file to have any of the below attributes.

Read-only - allowing the file to be only vied and not written to.

Archived - allowing Microsoft backup and other backup programs to know which files to backup.

Hidden - making the file invisible to standard users.

System - making the file an important system file.
 
Displays or changes file attributes.

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

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.
/S  Processes files in all directories in the specified path.

EXAMPLES

attrib +r autoexec.bat - This would make the autoexec.bat so it cannot be modified until the read only attribute is taken off.

attrib +h config.sys - This would make the config.sys hidden so to the average user this file would not be existent however if the attrib command it typed alone "attrib" this will show any hidden files.

attrib -h config.sys - This command will do the apposite of the above command. Instead of hiding the file it will unhide the file if hidden.

EXTENDED INFORMATION

See our File attributes computer dictionary definition for additional information about file attributes.

DOS directory file attribute bit position and Hex Value:

Bit Positions
7 6 5 4 3 2 1 0 Hex  Description
0 0 0 0 0 0 0 1 01h Read Only file
0 0 0 0 0 0 1 0 02h Hidden file
0 0 0 0 0 1 0 0 04h System file
0 0 0 0 1 0 0 0 08h Volume Label
0 0 0 1 0 0 0 0 10h Subdirectory
0 0 1 0 0 0 0 0 20h Archive
0 1 0 0 0 0 0 0 40h Reserved
1 0 0 0 0 0 0 0 80h Reserved
Examples    
0 0 1 0 0 0 0 1 21h Read Only, Archive
0 0 1 1 0 0 1 0 32h Hidden, Subdirectory, Archive
0 0 1 0 0 1 1 1 27h Read Only, Hidden, Archive
  
BACKUP /HP

APPEND ARP ASSOC AT ATTRIB BREAK CACLS CALL CD
CHCP CHDIR CHKDSK CHKNTFS CLS CMD COLOR COMMAND COMP
COMPACT CONTROL CONVERT COPY DATE DEBUG DEL DELTREE DIR 2
DIR ... DISKCOMP DISKCOPY DOSKEY ECHO EDIT EDLIN ERASE EXIT
EXPAND FC FDISK FIND FOR FORMAT FTP GRAFTABL HELP
IPCONFIG LABEL LOADFIX MD MEM MKDIR MODE MORE MOVE
MSCDEX NBTSTAT NET NETSTAT NLSFUNC NSLOOKUP PATH PATHPING PAUSE
PING PRINT PROMPT RD REN RENAME RMDIR ROUTE SET
SETVER SHARE SHUTDOWN SORT SUBST TIME TREE TYPE UNLOCK
VER VERIFY VOL XCOPY





Cyonic Nemeton