Home > Commands A-M > Commands M

MACFILE DIRECTORY


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

To modify directories in Macintosh-accessible volumes.


Syntax

MACFILE DIRECTORY /?

MACFILE DIRECTORY [/group:group_name] [/owner:owner_name] /path:directory [/permissions:nnnnnnnnnnn] [/server:\\Computer]


Parameters

none.


Switches
/? (NTXP)
Displays help.
/group:group_name (NTXP)
Specifies or changes the Macintosh primary group that is associated with the directory. If omitted, the primary group remains unchanged.
/owner:owner_name (NTXP)
Changes the owner of the directory. If omitted, the owner remains unchanged.
/path:directory (NTXP)
Specifies the path to the directory that you want to change. The directory must exist. (use MACFILE NEW FOLDER to create a directory in a Macintosh-accessible volume).
/permissions:nnnnnnnnnnn (NTXP)
Sets permissions on the directory for the owner, primary group, and world (everyone). An 11-digit number is used to set permissions. The number 1 grants permission and 0 revokes permission. The position of the digit determines which permission is set (If omitted, permissions remain unchanged):
      nnnnnnnnnnn
      1----------  Owner: See Files
      -1---------  Owner: See Folders
      --1--------  Owner: Make Changes
      ---1-------  Group: See Files
      ----1------  Group: See Folders
      -----1-----  Group: Make Changes
      ------1----  World: See Files
      -------1---  World: See Folders
      --------1--  World: Make Changes
      ---------1-  Directory cannot be renamed, moved, or deleted
      ----------1  Changes apply to current directory and subdirectories
/server:\\Computer (NTXP)
Specifies the server on which to change a directory. If omitted, the operation is performed on the local computer.

Related

none.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NTXP NT2003