CMD Script Header

http://steve-jansen.github.io/guides/windows-batch-scripting/part-10-advanced-tricks.html

 

:: Name:     MyScript.cmd
:: Purpose:  Configures the Something engine to run from a source control tree path
:: Author:   user_github@something.com
:: Revision: March 2019 - initial version
::           April 2019 - added support for Something v2 logging

@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

:: variables
SET me=%~n0


:END
ENDLOCAL
ECHO ON
@EXIT /B 0