Create a Mac Volume on Windows XP, 2000, or 2003
Create a Mac Volume on Windows XP, 2000, or 2003
Syntax
macfile volume {/add | /set} [/server:ComputerName] /name:VolumeName /path:Directory [/readonly:{true | false}] [/guestsallowed:{true | false}] [/password:Password] [/maxusers:{Number | unlimited}]
macfile volume /remove [/server:ComputerName] /name:VolumeName
Example
macfile volume /add /server:SERVERNAME /name:MACSHARE /path:d:macshare
Parameters
{/add | /set}
Required when you are adding or changing a Macintosh-accesible volume. Adds or changes the specified volume.
/server:ComputerName
Specifies the server on which to add, change, or remove a volume. If omitted, the operation is performed on the local computer.
/name:VolumeName
Required. Specifies the volume name to be added, changed, or removed.
/path:Directory
Required and valid only when you are adding a volume. Specifies the path to the root directory of the volume to be added.
/readonly:{true | false}
Specifies whether users can change files in the volume. Type true to specify that users cannot change files in the volume. Type false to specify that users can change files in the volume. If omitted when adding a volume, changes to files are allowed. If omitted when changing a volume, the readonly setting for the volume remains unchanged.
/guestsallowed:{true | false}
Specifies whether users who log on as guests can use the volume. Type true to specify that guests can use the volume. Type false to specify that guests cannot use the volume. If omitted when adding a volume, guests can use the volume. If omitted when changing a volume, the guestsallowed setting for the volume remains unchanged.
/password:Password
Specifies a password that will be required to access the volume. If omitted when adding a volume, no password is created. If omitted when changing a volume, the password remains unchanged.
/maxusers:{Number | unlimited}
Specifies the maximum number of users who can simultaneously use the files on the volume. If omitted when adding a volume, an unlimited number of users can use the volume. If omitted when changing a volume, the maxusers value remains unchanged.
/remove
Required when you are removing a Macintosh-accessible volume. Removes the specified volume.
/?
Displays help at the command prompt.