Specifications
82 Version 2.0
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_NOT_FOUND The requested file was not found.
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_WRITE_PROTECTED The media that the action was to take place on is write-protected.
Examples
• To display the attributes of a directory:
fs0:\> attrib fs0:\
attrib:D fs0:\
• To display the attributes of all files and sub-directories in the current directory:
fs0:\> attrib *
attrib: AS fs0:\serial.efi
attrib:DA fs0:\test1
attrib: A HR fs0:\bios.inf
attrib: A fs0:\VerboseHelp.txt
attrib: AS fs0:\IsaBus.efi
• To add the system attribute to all files with extension '.efi':
fs0:\> attrib +s *.efi
• To remove the read only attribute from all files with extension '.inf':
fs0:\> attrib -r *.inf
attrib: A H fs0:\bios.inf










