I am run below cmds in commands prompt
for Ex:
for /f %a in (Y:\el.txt) do move %a C:\Users\srinu\Desktop\test
after that i need result txt file
Example:c:\skipped.txt (not moved File Numbers) how to create in cmd
how to write in command prompt
%a
to%%a
in batch file, also you can redirect the output (all of it, not just the skipped ones) to a file using the>>
operator so your command becomesfor /f %%a in ([SRC]) do move %%a [DIST] >> 'LOG'