I'm trying to create a batch file or vbs script that will check to see if there is a new version of a map file on our server, if there is a newer version then I would like it to copy the file off the server to a local c drive, then rename the old file on the local drive to mapfile.old. I also need the batch file or script to ensure I only have one version of the mapfile.old. So at any given time there should only be two files on the local c drive, mapfile.map and mapfile.old. I Know that I can use xcopy to copy the file only if the source is new than the destination but I'm out of thoughts on how to make the rename and deletion only occur if a new file was copied. The xcopy I am using look like this: xcopy \\x\ManifoldUserUpdates\FisherUS\Maps\nolinkcwpkey.m
ap "c:\fisherus\program files\fisherus\maps"