@echo on SET exePath=%~dp0%SunRoxmDTS.exe C: cd C:\Windows\Microsoft.NET\Framework\v2.0.50727\ echo %exePath% InstallUtil.exe %exePath% Net Start SunRoxmDTSNew pause