D
David
Hello,
I'm trying to write a utility for a product that I have. The
product allows remote clients to access the server's database
via a shared drive. The problem I am trying to solve is the
sequence of events needed to record the settings for a shared
drive and then disable it. Later on, after performing a bit
of maintenance, I plan on sharing the drive again and
restoring all of the previous permisions.
I need some command line utilities or operating system APIs
that I can use to control the network shares and their
permissions. Ideally these utilities or APIs should be
consistant from Windows 2000 on.
I've found the Windows 2003 Resource Kit and the rmtshare
and chkshare utilities. These are good for XP and 2003.
I've not found a similar utility for Windows 2000.
NET SHARE is an unacceptable partial solution to the
problem, as I need to restore the exact configuration the
customer had on their system.
Thanks in advance for any leads to this information,
David
I'm trying to write a utility for a product that I have. The
product allows remote clients to access the server's database
via a shared drive. The problem I am trying to solve is the
sequence of events needed to record the settings for a shared
drive and then disable it. Later on, after performing a bit
of maintenance, I plan on sharing the drive again and
restoring all of the previous permisions.
I need some command line utilities or operating system APIs
that I can use to control the network shares and their
permissions. Ideally these utilities or APIs should be
consistant from Windows 2000 on.
I've found the Windows 2003 Resource Kit and the rmtshare
and chkshare utilities. These are good for XP and 2003.
I've not found a similar utility for Windows 2000.
NET SHARE is an unacceptable partial solution to the
problem, as I need to restore the exact configuration the
customer had on their system.
Thanks in advance for any leads to this information,
David