I need to write a Windows DOS script in order to automate copying a couple files over out AD network. I can certainly set this up using Windows scheduler, but I need to be able to call this .bat file which would copy the file using a third party scheduler software (ESP). What I'm trying to figure out is how to pass the credentials I need to be able to copy the files. The files are being copied from one Windows Server to another. Any help would be much appreciated.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!