An unrecognized command every time in the first line of code

I have a problem with the BATCH file ... Whatever the first line says, it says: [command] is not a command.

Same:

@ECHO OFF 

I get this output:

[C: \ folder (path)]> '╗┐ @ECHO OFF

'╗┐ @ECHO is not a team

It does the same even in an explicit batch file (nothing but @ECHO OFF in it). Please, help!

+2
command batch-file line
source share
1 answer

You see the specification (byte size) of the file, probably encoded by utf-8. Open with an editor and save the file with ANSI encoding.

+5
source share

All Articles