Using CMD /c to conduct the If operation will show the full command
for testing from the command line:
Code: Select all
@For %G in (":0" "0" "0:")Do cmd /c if %~G==%~G echo [%~G==%~G true]
@For %G in (":0" "0" "0:")Do if %~G==%~G echo [%~G==%~G true]