Notes

Working notes on Notes: redirect stderr to stdout, | find /i \"search_string\", Concatenate Variables, Set X=Y, Set Y=Z, and Echo %%X%%.

UjnotesCC0 1.0

Working notes on Notes: redirect stderr to stdout, | find /i \"search_string\", Concatenate Variables, Set X=Y, Set Y=Z, and Echo %%X%%.

Cmd pipe to clipboard.

| clip.

redirect stderr to stdout

2>&1.

Find in output.

| find /i "search_string"

%ErrorLevel% 0:Success 1:Failure

Concatenate Variables

“xyz%var1%abc”.

Double Resolution does not work.

Set X=Y

%X% = Y

Set Y=Z

%Y%=Z

Echo %%X%%

%Y%

And not Z.

Set var=%1%)

closing brace should be immediate

Else results in spaces.

Trim set Target=%Target:~0,-16%.

Pause

{Emulate} ping -n 10 127.0.0.1 > Nul

Goto

Goto :<Label|EoF>

@GoTo :EoF.

Updated: 2026 Aug 19