|
Answer» Greetings:
We're looking to design a set of batch files that use winmsd.exe to poll all of our servers AUTOMATICALLY and gather data on them. Ideally, I'd like to be ABLE to set the output FILENAME as %%ServerName_%%Date.txt, and copy it to a central place, where we can keep it for documentation purposes.
In *NIX, I can do SOMETHING like this:
export FILEDATE=`date +%m%d%Y` export ARCHDIR=$1"archive/"$FILEDATE mkdir $ARCHDIR cp $1index.html $ARCHDIR cp $1*day.png $ARCHDIR
Is there anything in the Windows WORLD that I can do to get this to happen in a batch file?...
Thanks, Richard. you might get some ideas from here>http://www.robvanderwoude.com/index.html
|