Help with batch file

  • Thread starter Thread starter JDJ
  • Start date Start date
J

JDJ

Why doesn't the following line in a batch file work?

netstat /? > c:\temp\netstat_switches.txt

netstat /?

works to the display but the batch file line doesn't write the same
info to the text file.
 
Why doesn't the following line in a batch file work?

netstat /? > c:\temp\netstat_switches.txt

netstat /?

works to the display but the batch file line doesn't write the same
info to the text file.

Not all commands accept redirection. This one, doesn't for, me either.
 
Back
Top