Winbatch script to check a file's size and overwrite
Posted on 2009-04-01
I need a Winbatch/VB script that will check the size of a file. If the file is the predetermined size, it overwrite it with another file. If the file is larger than a the predetermined size, it will do nothing. I need the script to look in 2 specific directories for the file.
Can this be done? I have been unsuccessful in getting this to work with Winbatch, but I admit I am just a novice at scripting right now.
Thanks for any help!