태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.
페이지를 읽고 있습니다. ( 아쿠아바다's Blog )
분류 전체보기 (769)
쉐어포인트 (24)
Exchange (12)
SQL (121)
XML (36)
WEB (294)
O / S (97)
삶의향기 (162)
기획 (19)
RSS 피드(IE 7.0부터 기본 지원됩니다. 이전 버전 사용자는 접합한 툴을 사용하세요!!)
퍼온곳의 설명입니다.
예전에 테스트해봤는데 신기하게 실제로 되더군요.

How do I execute a DOS command / batch file / exe from ASP?
23,985 requests - last updated Tuesday, February 19, 2002
--------------------------------------------------------------------------------
 
You can use ASPExec from ServerObjects or DynuExec from Dynu. Alternatively, if you have Windows
Script Host installed, you can do this (sorry, I've only had the time to test .bat files):
 
<%
    set wshell = server.createobject("wscript.shell")
    wshell.run "c:\file.bat"
    set wshell = nothing
%>
 
Where c:\file.bat is something like:
 
    net stop iisadmin /y
    net start w3svc
 
 
If you are trying to run a command that has output, you may want to investigate piping the output to a 
text file that you can than read using FileSystemObject from ASP.
좀더 흥미로운 내용이 많이 있습니다.. HOME > WEB/ASP / DotNet를 확인하세요
0 Trackback, 0 Comment, :
1  ... 261 262 263 264 265 266 267 268 269  ... 769 
Statistics Graph
Total : 557,403 Today : 33