Can You read this? - No cheating!

-- --- .-. ... . / -.-. --- -.. . / .. ... / --. .-. . .- - .-.-.- / -. .. -.-. . / .--- --- -... .-.-.- / -.. --- -. .----. - / --. .. ...- . / .- .-- .- -.-- / - .... . / .- -. ... .-- . .-.

sort by: active | newest | oldest
g-one5 years ago
*.bat

@echo off &setlocal

set "string=-- --- .-. ... . / -.-. --- -.. . / .. ... / --. .-. . .- - .-.-.- / -. .. -.-. . / .--- --- -... .-.-.- / -.. --- -. .----. - / --. .. ...- . / .- .-- .- -.-- / - .... . / .- -. ... .-- . .-."

for /f "tokens=2 delims=:" %%i in ('chcp') do set /a OEMCP=%%~ni
for /f %%a in ('"prompt $H$S &echo on &for %%b in (1) do rem"') do set "Bs=%%a"
>nul chcp 1252
set ".-=A"&set "-...=B"&set "-.-.=C"&set "-..=D"&set ".=E"&set "..-.=F"
set "--.=G"&set "....=H"&set "..=I"&set ".---=J"&set "-.-=K"&set ".-..=L"
set "--=M"&set "-.=N"&set "---=O"&set ".--.=P"&set "--.-=Q"&set ".-.=R"
set "...=S"&set "-=T"&set "..-=U"&set "...-=V"&set ".--=W"&set "-..-=X"
set "-.--=Y"&set "--..=Z"&set "-----=0"&set ".----=1"&set "..---=2"
set "...--=3"&set "....-=4"&set ".....=5"&set "-....=6"&set "--...=7"
set "---..=8"&set "----.=9"&set ".--.-=À"&set ".-.-=Ä"&set ".-..-=È"
set "..-..=É"&set "---.=Ö"&set "..--=Ü"&set "...--..=ß"&set "----=CH"
set "--.--=Ñ"&set ".-.-.-=."&set "--..--=,"&set "---...=:"&set "-.-.-.=;"
set "..--..=?"&set "-....-=-"&set "..--.-=_"&set "-.--.=("&set "-.--.-=)"
set ".----.='"&set ".-..-.=.%Bs%""&set "-...-=="&set ".-.-.=+"&set "-..-.=/"
set ".--.-.=@"&set "-.-.--=!"&set ".-...=&"&set "...-..-=$"&set "-.-.-=[START]"
set "-...-=[STOP]"&set ".-.-.=[END]"&set "...-.=[UNDERSTOOD]"
set "...-.-=[OUT]"&set "...---...=[SOS]"&set "........=[ERROR]"&set "/=.%Bs% "
>nul chcp %OEMCP%

setlocal EnableDelayedExpansion
for %%i in (%string%) do <nul set /p "=!%%i!"
endlocal
echo(
pause>nul


have fun
FrodoandSam (author)  g-one5 years ago
To: g-one

"?!!"

Whoooo . . . Neat!
FrodoandSam (author) 5 years ago
What I mean is 1, Try not to look it up on the interwebs & 2, Don't post the answer so that anyone can see it!!!
Okay... Can You read this? Yes.
canucksgirl5 years ago
So.... if I "know" the answer..... but the answer tells me not to "give it away"... does that tell you that I "know". :-)
lemonie5 years ago
Yes
Burf5 years ago
Yeah, I learned it in the Boy Scouts way too many years ago.
bwrussell5 years ago
You say no cheating which means you know what it says, which means you don't need any help, which means this is better suited for the forums.
At least I know who to contact if I plan on traveling to the early 1900's. Or I could just bring my phone and make them worship me as if I were a God.
iceng bwrussell5 years ago
+1
It looks like Morse code.
Yes.