CHCP 65001 echo off cd ./win7-x64/bin/ ExcelExport.exe MergeLanguageDesc SET SourceFileTr=..\trace.log if exist %SourceFileTr% ( ::chcp 65001 type %SourceFileTr% ) else ( echo ********************** ok ********************** ) SET SourceFile=..\error.log if exist %SourceFile% ( ::chcp 65001 type %SourceFile% ) else ( echo ********************** ok ********************** ) pause