Software >> OS >> Windows >> Command Line >> How to escape reserved characters in DOS commands

prepend with ^ character eg. FOR /F "usebackq tokens=1" %%a IN (`net sessions ^| findstr /i "\"`) DO @echo %%a