Đang chuẩn bị liên kết để tải về tài liệu:
Windows Admin Scripting Little Black Book- P23

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Windows Admin Scripting Little Black Book- P23:This book may not be duplicated in any way without the express written consent of the publisher, except in the form of brief excerpts or quotations for the purposes of review. The information contained herein is for the personal use of the reader and may not be incorporated in any commercial programs, other books, databases, or any kind of software without written consent of the publisher. Making copies of this book or any portion for any purpose other than your own is a violation of United States copyright laws | IUPDATER iufile Shell.Run CHR 34 IUPDATER CHR 34 Q 1 True Note Chr 34 translates the ASCII code character 34 into a quotation . This is necessary when using the She .Run command with long file names. Here IUPDATER is a variable containing the complete path and file name of the Intelligent Updater executable. Using Microsoft Internet Explorer as a Logon Script Box Through Automation you can use Internet Explorer to display logon script status to the user. To use Internet Explorer as a logon script box using the previous WSH logon scripts proceed as follows 1. Create a new directory to store all files included in this example. 2. Download and install the latest version of Windows Script Host from www.microsoft.com to the new directory. 3. Select Start Run and enter cscript scriptfi e.vbs . Here scriptfile is the full path and file name of a script file that contains the following On Error Resume Next Set Network CreateObject WScript.Network Set MSIE CreateObject InternetExplorer.Application sTITLE Processing Logon Script please wait. Drive DriveLetter Share server sharename SetupMSIE MSIE.Document.Write HTML TITLE sTitle _ TITLE BODY bgcolor C0C0C0 FONT FACE ARIAL If Hour Now 12 Then MSIE.Document.Write B Good Morning Network.UserName B BR BR Elself Hour Now 18 Then MSIE.Document.Write B Good Afternoon Network.UserName B BR BR Else MSIE.Document.Write B Good Evening Network.UserName B BR BR End If MSIE.Document.Write B Mapping drive Drive to _ Share . B BR Network.MapNetworkDrive Drive Share If Err.Number 0 Then MSIE.Document.Write Mapping Successful BR Else MSIE.Document.Write Error mapping drive Drive to Share BR End If MSIE.Document.Write BR B Closing in 3 seconds B BR Wscript.Sleep 3000 MSIE.Quit Sub SetupMSIE MSIE.Navigate About Blank MSIE.ToolBar False MSIE.StatusBar False MSIE.Resizable False Do Loop While MSIE.Busy SWidth MSIE.Document.ParentWindow.Screen.AvailWidth SHeight MSIE.Document.ParentWindow.Screen.AvailHeight MSIE.Width SWidth 2 MSIE.Height SHeight

Đã 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.