|
|
#1 |
|
Junior Member
Join Date: Jul 2007
Posts: 17
|
CreateNewShare macro does not allow multiple user
Hi,
I am using the macro CreateNewShare to share a folder. when I call this macro first time to share a folder it works fine, but a second call(To add one more user to the share folder list) for the same folder gives me an error message, Saying there was an error creating the share! Can somebody tell me where I am going wrong. Here is the code I am using. !insertmacro CreateNewShare "NSADMIN" "_NS_DATA3" ${STYPE_DISKTREE} "Allows access to data" \ ${ACCESS_ALL} ${GENERIC_ALL} -1 2 "D:\books" "" !insertmacro CreateNewShare "prabhat" "_NS_DATA3" ${STYPE_DISKTREE} "Allows access to data" \ ${ACCESS_ALL} ${GENERIC_ALL} -1 2 "D:\books" "" Thanks in adv, Prabhat. |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|