ls | foreach { if($_.Length -eq 0) { copy "D:\myFile.txt" $_.Name } }
cd C:\MyFolderWithManyFiles\
for %i in (*) do copy C:\SomeFolder\SomeDefaultFile.png %i /y
@ECHO OFF
FC C:\empty.txt %1 | FIND "FC: различия не найдены" > nul
IF ERRORLEVEL 1 goto :eof
copy zamena.png "%1"
FOR /R .\ %G IN (*.*) DO C:\check_null.bat "%G"