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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top