Windows Batch Files

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.

1 Comments Short URL

One Response to “Windows Batch Files”

  1. Jaxn October 28, 2004 at 8:41 am #

    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