find - Batch to filter out duplicates in separate directories -


i have 2 folders 2 different locations bunch of automatically generated (generated through install , repair/ reset) files in them.

occasionally happens file of particular name , extension found in both folders causes errors in associated program, solution delete 1 of 2 1 remains.

i use batch @ work novice xcopy , on commands, how if can achieve desired result?

the op wrote:

never mind fixed it:

for /r c:\1\ %%f in (*) if exist "c:\2\%%~nxf" del /s /q "c:\1\%%~nxf 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -