TAILIEUCHUNG - sams teach Yourself windows Script Host in 21 Days phần 7

bởi vì nó giúp loại bỏ các xung đột tiềm năng có thể xảy ra giữa các kịch bản. Hơn nữa, các biến trong các kịch bản WSH có thể thực hiện bất kỳ loại giá trị bao gồm chuỗi, số, và các đối tượng. Trong các tập tin hàng loạt, biến môi trường là luôn luôn strings | Simpo PDF Merge and Split Unregistered Version - http Listing Using to Create a Web Site FILE DESC This script illustrates how you can programmatically create a web site using IIS administration objects. AUTH Thomas L. Fredell DATE 11 23 98 Copyright 1998 Macmillan Publishing Option Explicit On Error Resume Next Dim oArgs sComputer sHostName sRootDir Dim oService nNewServer oServer oVDir oDir Dim oFS sBasePath sCGIDir Dim sTmp Step 1 Check script arguments Set oArgs If 4 Then USAGE createweb computer hostname _ instance rootdir hostname . Creates a new IIS web site on computer using the server root instance specifies the web and rootdir specifies the directory on the file system. 1 End If sComputer oArgs 0 sHostName oArgs 1 nNewServer oArgs 2 sRootDir oArgs 3 Step 2 Get the object that represents the web service Set oService GetObject IIS sComputer W3SVC Step 3 Create a new virtual server Determine the new virtual server number by SimpoPDF MergegandhS plit UnregisteredVersion - http Set oServer IIsWebServer nNewServer If 0 Then ShowErr Unable to create server. End If Step 4 Configure the new server New server created by 600 80 sHostName If 0 Then ShowErr An error occurred while setting configuration params. End If Step 5 Create virtual root directory for the new site Set oVDir IIsWebVirtualDir ROOT If 0 Then ShowErr Unable to create virtual root directory. End If Step 6 Configure the virtual root directory Set oFS CreateObject sBasePath .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.