I need to have my code come out like this:
if %Psername%==admin (
if %P%==password (
But when I put in the code:
echo( if %Psername%==admin ( >>"%HOMEDRIVE%%HOMEPATH%\Orion\Login.bat"
echo( if %P%==password ( >>"%HOMEDRIVE%%HOMEPATH%\Orion\Login.bat"
it comes out as this in the text file:
if ==admin (
if ==password (
How to I echo
the string %Psername%
and %P%
literally?