Scripting the creation of shares

R

Raymond

Hi,

I was wondering if it is possible to script the creation
of shares for the Macintosh.

Creating Windows shares works fine with the 'net share'
command, but unfortunately this does not work for Apple
Macintosh.

Thanks..
 
J

Jim Seifert [MSFT]

Macfile volume should do what you need.

macfile volume /?

The syntax of this command is:

MACFILE VOLUME /ADD
[/SERVER:\\computername] The default is local.
/NAME:volumename
/PATH:root directory path
[/READONLY:TRUE|FALSE] The default is False.
[/PASSWORD:password] The default is no password.
[/MAXUSERS:number|UNLIMTED] The default is unlimited.

MACFILE VOLUME /REMOVE
[/SERVER:\\computername] The default is local.
/NAME:volumename

MACFILE VOLUME /SET
[/SERVER:\\computername] The default is local.
/NAME:volumename
[/READONLY:TRUE|FALSE]
[/PASSWORD:password]
[/MAXUSERS:number|UNLIMITED]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top