It seems out either you are using linux cmd to edit something or whatever.Please clearly state your problem
My dir.lst as like this :
*************************
wady0_Hold.out.new
wady0_Post.out.new
wady2_Hold.out.new
wady2_Post.out.new
wady3_Post.out.new
wady4_Hold.out.new
For missing pairs I am doing this :
dir /b %folder%\*.out.new > dir1.lst
@echo off
for /f "tokens=1,* delims=_" %%a in (dir1.lst) do (
echo %%a
::for missing pairs
if not exist %folder%\%%a_Post.out.new copy nul %folder%\%%a_Hold.out.new
if not exist %folder%\%%a_Hold.out.new copy nul %folder%\%%a_Post.out.new
pause ""
)
But I can see that the new created files are created over the old ones with the same names . That is against the syntax written above ????

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic