Verify Network Shares

Verify Network Shares

Post by Crimson » Sat, 09 Apr 2005 11:36:53


I'm using the rmtshare command to get a list of shares on a server (rmtshare
/L /S servername > shares.txt). I'm trying to figure out how I can go about
writing a script that can be run at will to verify that these shares still
exist. I'm learning vbs as I go along, so I appreciate any help offered.
 
 
 

Verify Network Shares

Post by Rafael » Sat, 09 Apr 2005 14:51:20

Hi there,

Check this page:
http://www.yqcomputer.com/

hope it helps,
Rafael

 
 
 

Verify Network Shares

Post by Mark-Allen » Sat, 09 Apr 2005 21:08:13

Check:
http://www.yqcomputer.com/

Also here is a link to another source of script tools:
http://www.yqcomputer.com/

And this is a link to the downloaded Script Center help file:


http://www.yqcomputer.com/


This has all the scripts from the Scripting area in it.

Hope this helps.

--
Mark-Allen Perry
ALPHA Systems
Marly, Switzerland
mark-allen_AT_mvps_DOT_org




(rmtshare
about
 
 
 

Verify Network Shares

Post by Crimson » Sun, 10 Apr 2005 10:51:40

Thanks to both of you for the links. However, I'm still stuck. Creating
the list of shares is easy enough. I just can't figure out a way to verify
them later. Is there something in Windows that is the equivalent of the
diff command in UNIX? Any other ideas? TIA.
 
 
 

Verify Network Shares

Post by Rafael » Sun, 10 Apr 2005 11:25:27

Alan Kaplan made a script to delete orphaned shares. Maybe you can modify
it to suit your needs:

http://www.yqcomputer.com/

Rafael