From: Andy Hubbard Subject: Logging to file for Win95 (Part II) Here's another way of getting log files for Win95 in utils.c search for the void mudlog part, and change .. if (file) fprintf(stderr, "%-19.19s :: %s\n", tmp, str); printf("%-19.19s :: %s\n", tmp, str); /*logging, Andy */ if (level < 0) return; then search for void log and change .. ct = time(0); tmstr = asctime(localtime(&ct)); *(tmstr + strlen(tmstr) - 1) = '\0'; fprintf(stderr, "%-19.19s :: %s\n", tmstr, str); printf("%-19.19s :: %s\n", tmstr, str); /*logging, Andy */ } Then in your batch file just run the mud with redirected output of stdout (printf outputs as stdout, and dos can redirect it), ie. circle.exe >> log.txt This will write all the logs to the file, and you will also get it echoed to your screen! Andy