NetShareSetInfo (name, \%shareinfo, $error, [server])
name
shareinfo
error
server
Sets the information for the share name on server to the parameters given by shareinfo. The error status is saved to the variable named by error.