@echo off
REM //---------- set up variable ----------
setlocal
set ROOT_DIR=%~dp0
pushd %~dp0
:success
@echo "Task completed."
goto end
:failed
@echo "Task has failed."
:end
popd