@echo off @rem *************************************************************** @rem ** Author: Robert Lie (Mobilefish.com) @rem ** @rem ** showlog.bat @rem ** @rem ** This batch file opens a dos window and goes to the directory @rem ** where the log file test.log is located. The Cygwin tail @rem ** command is then excuted to display the last 100 lines of the @rem ** log file continuously. @rem ** @rem *************************************************************** cd c:\ cd c:\mobilefish_web\php\_log tail -f -n 100 test.log cmd