2 if not exist %~dpn1.4th goto error
4 if "%2"=="" GOTO testend
5 if /I "%2"=="ECHO" GOTO testend
6 if /I "%2"=="NOECHO" GOTO testend
9 start %~d1\config\scite\AS_MSP430\error4th.bat
17 taskkill /F /IM ttermpro.exe 1> NULL 2>&1
18 @"C:\Program Files\teraterm\ttpmacro.exe" /V %~d1\config\scite\AS_MSP430\SendFile.ttl %~dpn1.4th /C %2 1> NULL 2>&1
19 if ERRORLEVEL 1 goto nextcmd
24 @"C:\Program Files (x86)\teraterm\ttpmacro.exe" /V %~d1\config\scite\AS_MSP430\SendFile.ttl %~dpn1.4th /C %2
30 rem %~dpn1.4th is the file to send described as drive\path\name.4th of param %1
31 rem %~d1 is the drive of param %1