for %%i in (foo bar) do @move %%i dir
This is the content of the batch file. It have to move the file to dir. But it returns error,
C:\>for %i in (foo bar) do @move %i dir
'for' is not recognized as an internal or external command, operable program or batch file.
What it the character ∩╗┐ ? I checked with notepad++ and I don’t find any hidden char in that batch file.
Most likely you have UTF-8 encoding set in notepad++
You will need to change it to UTF-8 without BOM or ANSI in order to work with cmd (batch)
Strange characters you see at the beginning is BOM – byte order mark code used by UTF