I’d like a batch script in Windows with which I can copy one directory to another. If this directory already exists, and then for each file that already exists in both with the same name and location, it should be overwritten, if it does not exists, it should just be added.
In the end it should be a batch script to which I can pass 2 arguments, source & destination.
In your batch file do this
If you want to copy the sub directories including empty directories then do:
If you only want to copy sub directories and not empty directories then use
/slike: