Hi, I had a similar problem: I had to check the filecount of an Directory. The way I did it was to write a simple VB-Script which counts the files and if the Filecount is oversteped it sends a Syslogmessage the my Whatsup-Server. The Syslogmessage is sent using a small DLL from http://www.netal.com/clsl12.htm . The VB-Script is scheduled using "Scheduled Tasks".
I'm not sure if it's possible to map a drive with VB-Script, but I think so..... Markus -----Urspr�ngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Sam McKenzie Gesendet: Donnerstag, 15. Juli 2004 22:36 An: '[EMAIL PROTECTED]' Betreff: [WhatsUp Forum] How to map a network drive and see if it was successful Hi! Does anyone know how to map a network drive and see if it was successful in WUG? I would like to call a batch file (using a net use command) and see if "The command completed successfully." was returned. Thanks! Sam A. McKenzie Quantum Corporation 719-536-5854 Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
