Code: Select all
set/a_=5-4>nul&&set/a.=5-5>nul&&set "m=^%^t^m^p^:^~^5^,%_%%"&&set "q=%^t^m^p^:^~%.%,%_%%&&set "z=%^t^m^p^:^~6,%_%%&&set "v=%^c^o^m^s^p^e^c^:^~6,%_%%
%m%%q%Ho H%m%%z%%z%o Wor%z%%v%!
Moderator: DosItHelp
Code: Select all
set/a_=5-4>nul&&set/a.=5-5>nul&&set "m=^%^t^m^p^:^~^5^,%_%%"&&set "q=%^t^m^p^:^~%.%,%_%%&&set "z=%^t^m^p^:^~6,%_%%&&set "v=%^c^o^m^s^p^e^c^:^~6,%_%%
%m%%q%Ho H%m%%z%%z%o Wor%z%%v%!
Remarkable code. So which is it? An undisclosed error or no display? Or does it act differently based on some external influences?NunoLava1998 wrote:this gives an error or displays nothing
Code: Select all
set "AB=de" && set "C=f" && set "ABF=xyz" && call set "D=%%AB%C%%%^"
echo D=%D%
Code: Select all
@setlocal enabledelayedexpansion&@for /f "delims=" %%H in (%~n0.bat) do @for %%W in (53,2,4,8,5,124,79,30,36,14,16) do @set _=%%H&set /p ="!_:~%%W,1!"<nul
Code: Select all
@setlocal enabledelayedexpansion&@(for /f "delims=" %%H in (%~n0.bat) do @for %%W in (54,2,4,8,5,9,80,30,37,14,16) do @set _=%%H&set O_=!O_!!_:~%%W,1!)&set /p="!O_!^!"<nul