rem cmd script CallMeAdmin.cmd
rem
if "%1" equ "" (
start "com" "\\sharebuild01\temp\sq\test\dbg_file\Command Prompt Admin.lnk" /c %0 arg0goto endOfFile
) else (
rem empty
)
rem normal code
rem remote debug AD.cmd
taskkill -im msvsmon.exe -f
rem start "open remote debug" /wait cmd /c start "a" "%ProgramFiles% (x86)\Microsoft Visual Studio 15.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe" /silent
set file="%ProgramFiles% (x86)\Microsoft Visual Studio 15.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe"
start "open remote debug" %file% /silent
rem pause
:endOfFile