150Views12Replies

Author Options:

Can You read this? - No cheating! Answered

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

12 Replies

user
g-one (author)2012-07-12

*.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

Select as Best AnswerUndo Best Answer

user
AndyGadget (author)g-one2012-07-12
user
FrodoandSam (author)2012-07-13

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!!!

Select as Best AnswerUndo Best Answer

user
canucksgirl (author)FrodoandSam2012-07-13

Okay... Can You read this? Yes.

Select as Best AnswerUndo Best Answer

user
canucksgirl (author)2012-07-13

So.... if I "know" the answer..... but the answer tells me not to "give it away"... does that tell you that I "know". :-)

Select as Best AnswerUndo Best Answer

user
Burf (author)2012-07-12

Yeah, I learned it in the Boy Scouts way too many years ago.

Select as Best AnswerUndo Best Answer

user
bwrussell (author)2012-07-12

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.

Select as Best AnswerUndo Best Answer

user
CatTrampoline (author)2012-07-12

It looks like Morse code.

Select as Best AnswerUndo Best Answer