Using a correct command => you get the return code of the command or the function you are using.
example: using the /fi command returns 0 or 1 (false or true)
Using an incorrect command => results into the windows error code 1 (incorrect function)
example: a typo like mkdi instead of mkdir
These are 2 different cases with the same result (return code 1) and therefore may cause some confusion here and there.
We at Lansweeper always recommend you try out your command on a command prompt first.
Once it is fully functional and thoroughly tested you can paste it in a 'Command' Step.