CMD

%0 – full path of the batch script

%~dp0 – full directory of the batch script

@echo off – turn off echo commands in the batch script