The packet does not recognize echo

Well, I got this error when I load my boot, and I cannot understand what I'm doing wrong.

C:\Windows\system32>´╗┐@echo off
´╗┐@echo gjenkjennes ikke som en intern eller ekstern kommando,
kjørbart program eller satsvis fil.

It says: "the team does not recognize"

And here is a sample of my code

@echo off
PING www.vg.no>nul
if errorlevel 1 goto nonet
if errorlevel 0 goto gotnet
goto END
:nonet
echo == Maskinen er ikke tilkoblet wlan.Dette programet krever nett og vil derfor avsluttes. 
timeout 5>null
exit

:gotnet
echo == Maskinen er tilkoblet nett. 
:END
PING ping 192.168.1.241>nul

if errorlevel 0 goto gotlocal
if errorlevel 1 goto nolocal

:nolocal
echo == Skript finner ikke server. Program avsluttes.
timeout 5>nul
Exit


:gotlocal
@echo [WLAN CHECK][:)                      ]
@timeout 1 >nul
cls
@echo [WLAN CHECK][::)                     ]`
+4
source share
1 answer

It seems that you saved the yor batch file using the UTF8 specification (EF BB BF).
Open it with a text editor and save it as an ANSI-Text file

+7
source

All Articles