Link to home
Start Free TrialLog in
Avatar of suresh Thippani
suresh Thippani

asked on

I need to copy newest file from one folder to another folder where i need to validate like if the file is same in the both folder then i should not copy the file.

I have two folders folder A and folder B .now from folder A  we need to pick the newest file and copy it to folder B   and we need to validate the files like if the new file picked and the file existing in folder B are same then we should give warning message. using batch script.
Avatar of Tahir Qureshi
Tahir Qureshi
Flag of Australia image

Do you have to use Windows Batch?  Some basic PowerShell would be far easier.
Avatar of NVIT
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Question answered.