CMD: "m" is not recognized as an internal or external command

I am trying to run a batch file. Whenever I try to run .bat, the command line returns "■ m" is not recognized ... an error where "m" is the first letter of the file. For instance:

md c:\testsource md c:\testbackup

Returns

C:> "C: \ Users \ Michael \ Dropbox \ Documents \ Research \ Media \ Method Guide \ Program \ test .bat"

C:> ■ m '■ m' is not recognized as an internal or external command, operating program or batch file.

Things I tried:

  • Change path variables, reboot, etc.
  • Changing the file directory (i.e. starting from C :)
  • Running sample files from the Internet (e.g. above) to check for syntax errors.

thank

+4
2

? , UTF-16, cmd.exe . "" / " " "ANSI" .

, - ( , ), cmd.exe .

+8

, PowerShell , ... PowerShell UTF-16.

, : | out-file foo.txt -encoding utf8

.

0

Source: https://habr.com/ru/post/1531881/


All Articles