0
SQL 쿼리에서 .exe
파일을 실행하려고합니다. 내가받는 출력이 유효한지 확실하지 않습니다.SQL Server 2008에서 '.exe'파일을 실행할 수 없습니다.
이 내 쿼리입니다 :
exec master..xp_cmdshell 'dir C:\Users\My_PC\Desktop\Items\dist\runfile.exe'
그리고 나는 다음과 같은 결과를 얻을 : 명령 프롬프트를 호출해야 runfile.exe을 실행 이상적으로
Volume in drive C has no label.
Volume Serial Number is 1256-8E4B
NULL
Directory of C:\Users\My_PC\Desktop\Items\dist
NULL
13/06/2016 17:08 6,794,192 runfile.exe
1 File(s) 6,794,192 bytes
0 Dir(s) 10,165,284,864 bytes free
NULL
합니다. 그러나 그렇지 않습니다. 어떤 도움이나 제안을 주시면 감사하겠습니다.
파일에서'DIR'을 (를) 실행하지 않고 실행 중입니다. –