PDA

View Full Version : Simple DOS commands/script



[XC] riptide
10-06-2007, 10:52 AM
Ok. First off I ain't a programmer.. but I want to make a little .bat file to do a few things.

This is the situation. I'm going to have several machine running 'DPAD' (A Distributed Computing Client). Each client that I'll have running will be generating results into a 'result.txt' file. So there'll be several machines doing this, with their own ' DPAD'folder on a network share, and in each folder will be an ever increasing result.txt file. The file is updated by small amounts about every 60 seconds or so.

I want to set up a .bat file that can conbine all the result.txt files into one single 'result.txt' file. I know there's some simple DOS commands to do this. But I haven't a clue what they are. Also lastly after the combining of these results.txt file, I'd like to delete the oringinal result.txt file as I want the client to generate new ones again.

Thanks

[XC] riptide
10-06-2007, 11:30 AM
iTS OK. i THINK i GOT IT.