Trying to use CMD to print the output of an executable to a file. The name of the program is adb (in my path). When called without arguments it prints the help text. I can't seem to capture it.
adb > adb.txt - Doesn't work, get an empty txt file
dir > adb.txt - Works fine
I'm probably not seeing something obvious.