Windows XP script for network servers?

Joined
Aug 8, 2006
Messages
58
Reaction score
0
I want to write a script that will find all items in folder X:\userbackup – on SERVERBACKUP and all items in main\FileServer\marketing and compare those 2 folders for any missing stuff and if there are some changes - I want from that script to send a MESSAGE ERROR to me.

How to start that script? Can I write script that will automatically connect to the drive on the network? Like for example:

1) it will connect to drive X:\userbackup <this is one server> and record in .txt file what items are in that folder

2) it will connect to \main\filerserver\marketing <this is second server> and record in .txt file what items are in that folder

3) compare those 2 txt file and if file from X:\userbackup is missing something or if txt from …\fileserver has something that txt from …user backup does not have then send error message

 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top