Skip to content

Windows Batch Files

by Jackson Miller on November 26th, 2002

I have been writing some .bat/.cmd files lately to help me admin some Windows 2000 Servers. I have not been able to find much information on the web about it, so I intend to post things here as I figure them out.

The following commands work in Windows 2000 scripts:

Send the output of a command to a file:

command > file.txt

Append the output of a command to a file:

command >> file.txt

UPDATE:

I have loaded all of the gnu command line tools onto my Windows Servers, so know I script almost just like in Linux!!!

Thank goodness.

From → General

One Comment
  1. I sure wish I had posted a link to where I downloaded the Gnu Coreutils for Windows. I never can find it any more. It was so cool. If you know where it is, please post a comment.

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS

Real Time Web Analytics