This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to create a shared directory w/IS08
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 02, 2010
01:17 PM
How to create a shared directory w/IS08
How can I create a shared directory w/Installshield 2008 in Installscript?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2010
11:09 AM
Hi! A way to do this is use a bat. You can create it on script, with the follow content:
net share " + sNomeCompartilhamento + "=" + sDiretorio + " /UNLIMITED /GRANT:" + sUsuarioEscrita + ",CHANGE
where the first var is the share name, the second is the directory to share and the last is the user name on machine.
net share " + sNomeCompartilhamento + "=" + sDiretorio + " /UNLIMITED /GRANT:" + sUsuarioEscrita + ",CHANGE
where the first var is the share name, the second is the directory to share and the last is the user name on machine.