@echo off copy C:\glassfish\domains\domain1\logs\server.log . "C:\Program Files\Windows NT\Accessories\wordpad.exe" server.log