How to check to see if folder is shared.
Hi,
I know how to use:
nsExec::Exec 'net share myfolder=$ccPath'
to set myfolder to share, but is there a way to check to see if it is already shared?
Thanks. I am having great fun with NSIS!!
John
Archive: How to check to see if folder is shared.
How to check to see if folder is shared.
Hi,
I know how to use:
nsExec::Exec 'net share myfolder=$ccPath'
to set myfolder to share, but is there a way to check to see if it is already shared?
Thanks. I am having great fun with NSIS!!
John
u could call NetShareEnum with the system plugin (there are differences between 9x and nt)
Here's another possibility that I should work consistantly in the different versions of windows. (This is assuming that the output remains consistant with the different versions of Windows)
nsExec::ExecToStack 'Net Share'