I am using rtmshare at the moment but the only result I can get is in a command promt like the example below.
I am new to scripting hence my post asking for help ...
C:\Kits\RTMshare>rmtshare \\server\share
Share name \\server\share
Path C:\share
Remark TEST
Maximum users No limit
Users 0
Permissions:
AD\username : FULL CONTROL
\Everyone : READ
The command completed successfully.
Is the information provided by rtmshare what you need? If so, then execute the command using WScript.Shell and the Exec Method and read the output via StdOut.
--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
To get share information for all shares on a server, then don't specify the share name.
rmtshare \\server
The above will report all shares for the server.
For anyone interested in rmtshare, it is free from MS. ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/i386/RMTSHAR.EXE.
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.