Set Attributes

Description

Change the attributes of a file.

In the FAT file system, there are 4 attributes which can be set:

  • A = Archive
  • H = Hidden
  • R = Read Only
  • S = System
Note

You can not combine adding and removing of attributes in a single command. i.e. you must only add or only remove attributes per command.


Format

A +|- attribute path


Parameters

  • attribute is one or more of “R”, “H”, “S”, or “A”.
  • path is the absolute path to a file/directory. A properly formatted path must begin with a ”/” (forward slash) and begins at the root directory. Subdirectories are separated with ”/” (forward slash).
    • e.g. /logs/january/jan3.log

Response Format

NULL | Enn


Example

To set “read-only” attribute for a file:

A +R /filename.txt

To remove “hidden” and “system” attributes for a file:

A -HS /filename.txt
  • Bookmark at
  • Bookmark "Set Attributes" at del.icio.us
  • Bookmark "Set Attributes" at Digg
  • Bookmark "Set Attributes" at Google
  • Bookmark "Set Attributes" at StumbleUpon
  • Bookmark "Set Attributes" at Technorati
  • Bookmark "Set Attributes" at Facebook
  • Bookmark "Set Attributes" at Twitter
  • Bookmark "Set Attributes" at Slashdot
  • Bookmark "Set Attributes" at Yahoo! Bookmarks
  • Bookmark "Set Attributes" at Furl
  • Bookmark "Set Attributes" at Reddit
  • Bookmark "Set Attributes" at Ask
  • Bookmark "Set Attributes" at BlinkList
  • Bookmark "Set Attributes" at blogmarks
  • Bookmark "Set Attributes" at Ma.gnolia
  • Bookmark "Set Attributes" at Netscape
  • Bookmark "Set Attributes" at ppnow
  • Bookmark "Set Attributes" at Rojo
  • Bookmark "Set Attributes" at Shadows
  • Bookmark "Set Attributes" at Simpy
  • Bookmark "Set Attributes" at Socializer
  • Bookmark "Set Attributes" at Spurl
  • Bookmark "Set Attributes" at Tailrank
  • Bookmark "Set Attributes" at Live Bookmarks
  • Bookmark "Set Attributes" at Wists
  • Bookmark "Set Attributes" at Yahoo! Myweb
  • Bookmark "Set Attributes" at BobrDobr
  • Bookmark "Set Attributes" at Memori
  • Bookmark "Set Attributes" at Faves
  • Bookmark "Set Attributes" at Favorites
  • Bookmark "Set Attributes" at Newsvine
  • Bookmark "Set Attributes" at myAOL
  • Bookmark "Set Attributes" at Fark
  • Bookmark "Set Attributes" at RawSugar
  • Bookmark "Set Attributes" at LinkaGoGo
  • Bookmark "Set Attributes" at Mister Wong
  • Bookmark "Set Attributes" at Wink
  • Bookmark "Set Attributes" at BackFlip
  • Bookmark "Set Attributes" at Diigo
  • Bookmark "Set Attributes" at Segnalo
  • Bookmark "Set Attributes" at Netvouz
  • Bookmark "Set Attributes" at DropJack
  • Bookmark "Set Attributes" at Feed Me Links
  • Bookmark "Set Attributes" at funP
  • Bookmark "Set Attributes" at HEMiDEMi
ummc/documentation/command/set_attributes.txt · Last modified: 2009/10/27 17:01 by bhagman
Valid CSS Recent changes RSS feed Valid XHTML 1.0