reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\Run" /v TwinCatLogger /t reg_sz /d %cd%\SIASUN.TwinCatLogger.exe /f @echo off pause