FOR /F "tokens=*" %%g IN ('move a.txt b.txt') do (SET VAR=%%g)
How can I suppress error message of MOVE? Without FOR, I can do >nul. But in FOR, >nul is getting error.
Thanks!
I tried to put >nul before move, within single quote, or after single quote. None of them worked