powershell - How to show warning when robocopy is overwriting a file? -
currently need use powershell , robocopy copy source directory target directory. library files consists lots of .dll.
i need overwrite .dll exist in target directory. however, of .dll in target directory newer version. therefore, before overwriting, need prompt warning tell users that. aware of that. how can check , compare version/properties of .dlls before doing robocopy?
i have checked there no such switch robocopy.
any solution ? thank you
Comments
Post a Comment