Redirect Windows cmd stdout and stderr to a single file
I’m trying to redirect all output (stdout + stderr) of a DOS command to a single file: C:\>dir 1> a.txt 2> a.txt The process cannot access the file because it is being used by another process. Is it possible, or should I just redirect to two separate files? 7 s 7 You want: dir > … Read more