1.

Solve : How to insert the '&' Symbol in variables?

Answer»

I wanted to MAKE something like this,
set ab=&hello
But it will say Hello is not a command. ANYONE have an idea? Code: [Select]C:\>set ab=^^^&hello

C:\>echo %ab%
&hello Code: [Select]C:\>set "ab=^&hello"

C:\>echo %ab%
&hello

C:\>set "ab=&hello"

C:\>set /p ".=%ab%"<NUL
&hello



Discussion

No Comment Found