MacMillan Technical Publishers put out a great book a couple of years back
called "Windows NT Shell Scripting" by Tim Hill. There's a full code listing
of a script that handles replication between system, and it probably has the
functionality you are looking for. Here's the Amazon link:
http://www.amazon.com/exec/obidos/ASIN/1578700477/o/qid=962203750/sr=8-1/ref
=aps_sr_b_1_1/103-7532018-9452600
Good luck,
Dave Shackelford
-----Original Message-----
From: Mikael Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 28, 2000 6:16 AM
To: [EMAIL PROTECTED]
Subject: dos command comparing file dates and size
Hello, I am working on a script that should do incrementel replicating in
NT 4. However, I cannot seem to find any command in dos, that can compare
two files size and/or date, and perhaps also check the NTFS rights. I know
that I can do this in at least two other ways, one is to buy an expensive
program so that I only have to do two clicks, maybe three to get it
working. The other way I can do this is to write such a program myself in
another script simple calling that one, but that I don't want to do since
that will be a time-consuming operation when the server runs the script. If
anyone has heard of a program do this I would really appreciate if you
would answer to this e-mail.
Mikael Schmidt - [EMAIL PROTECTED]
Information Security student
Certified Linux Administrator
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]