set title of command window

This commit is contained in:
H Pragt 2017-10-03 15:18:13 +02:00 committed by rfscholte
parent dd97d37838
commit 93f6c7bdf3
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@
@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
@REM set title of command window
title %0
@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on'
@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO%