I am expecting to receive just an output "NO User exists for *" after running this code:
FOR /F "tokens=* delims= " %%A IN ('C:\windows\System32\query.exe user /server:<some_IP_address>') DO SET NumDoc1=%%A echo %NumDoc1%
But I keep getting:
No User exists for * ECHO is off.
How do I get rid of "ECHO is off" from my output?
pcgben answered question
Have an answer?