FOR /f %%a IN ('DIR /b "P:\a\t\h\*.*"') DO (
IF NOT "%%a"=="File1" (
IF NOT "%%a"=="File2" ECHO MOVE "%%a"
For now one, post your full question in the first post, instead of a gneral question, followed by the full question. Also, don;t create a new thread regarding the same issue.
This should do the trick.
Can I put a question here?