티스토리 뷰
텍스트 문장 그대로를 스크립트 명령으로 해석하여 실행해준다.
Dim result : result = 0
Dim a : a = 5
Dim b : b = 10
ExecuteGlobal "result = a + b"
Speak result
외부 스크립트를 인클루드 하듯 실행
Dim fsObj : Set fsObj = CreateObject("Scripting.FileSystemObject")
Dim vbsFile : Set vbsFile = fsObj.OpenTextFile("myfunctions.vbs", 1, False)
Dim myFunctionsStr : myFunctionsStr = vbsFile.ReadAll
vbsFile.Close
Set vbsFile = Nothing
Set fsObj = Nothing
ExecuteGlobal myFunctionsStrhttp://www.gwmicro.com/mediawiki/index.php/Using_ExecuteGlobal_to_Include_VBScript_Code
'OS-서버-서비스 > Windows' 카테고리의 다른 글
| IIS FTP PASV 포트 고정 (0) | 2009.12.25 |
|---|---|
| [보안] IIS 웹 서버 보안 설정 (1) | 2009.12.25 |
| Wscript Print 명령들 (0) | 2009.11.26 |
| XP 기본 윈도우 검색 도구 변경 (0) | 2009.11.23 |
| 블루스크린 덤프 뷰어 (0) | 2009.09.28 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- JSON
- classic asp
- Debug
- macos
- sencha touch
- Android
- 한글
- laravel
- git
- PHP
- Docker
- centos
- javascript
- IE
- JQuery
- 워드프레스
- Wordpress
- mssql
- 안드로이드
- nginx
- ASP
- Linux
- IOS
- nodejs
- Mac
- iis
- Prototype
- CSS
- API
- iphone
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함