最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

用hta實現(xiàn)的遠程桌面連接腳本

 更新時間:2013年08月27日 19:16:56   作者:  
用hta實現(xiàn)的遠程桌面連接效果的腳本,需要事先在hta中填好ip,端口等信息,當(dāng)然你也可以自己修改下,可以輸入ip端口的

這是一個HTA的腳本,復(fù)制下面代碼,然后將文件后綴修改為CCC.HTA即可使用,腳本原文出自: myITforum.Com
“Connection File”
/Console
/Admin
/W:xxx
/H:xxx
/Public
/Span
/Edit
/Migrate
For a complete list of available remote desktop connection usage switches from the Run line enter: Mstsc /?
Tip: On the line(s) that read:

<input type="radio" name="RadioOption" value="ServerOne">Server One<BR>
You can change the value="ServerOne" to the machines IP address if needed or you can change the Server One machine name value to a more descriptive name such as in the example below:
<input type="radio" name="RadioOption" value="SMS001">Primary<BR>
<input type="radio" name="RadioOption" value="SMS002">Secondary<BR>
HTA Script:

復(fù)制代碼 代碼如下:

<Html>
<Head>
<Title>Remote Desktop Chooser</Title>
<Style>
Body {Background-Color: CornSilk}
</Style>
<HTA:Application
Caption = Yes
Border = Thick
Scroll = No
ShowInTaskBar = No
MaximizeButton = Yes
MinimizeButton = Yes>
<script Language = VBScript>
Sub Window_OnLoad
Window.ResizeTo 400,250
End Sub
Sub WindowsLoad
For Each objButton in RadioOption
If objButton.Checked Then
Set wshShell = CreateObject("WScript.Shell")
WshShell.Run "Mstsc /V " & objButton.Value & " /F"
End If
Next
Self.Close()
End Sub
</script><Body>
<p><h3 align = center><font color='Orange'>Please Visit myITforum.Com</font></h3>
<div></div>
<table align='center'>
<input type="radio" name="172.16.24.100" value="ServerOne">172.16.24.100<BR>
<input type="radio" name="RadioOption" value="ServerTwo">Server Two<BR>
<input type="radio" name="RadioOption" value="ServerThree">Server Three<P>
<input id=runbutton  class="button" type="button" value="Run Script" name="run_button"  onClick="WindowsLoad">
<Span Id = "DataArea"></Span></Body></html>

相關(guān)文章

最新評論

隆昌县| 台前县| 罗山县| 内丘县| 江油市| 鄂州市| 宣化县| 方山县| 苏州市| 新野县| 东平县| 岱山县| 安丘市| 佛山市| 海南省| 马边| 阳城县| 安图县| 望江县| 萍乡市| 江达县| 庆云县| 马边| 山阳县| 黑水县| 商河县| 平凉市| 望奎县| 东光县| 瑞安市| 中卫市| 兴安盟| 姚安县| 新河县| 尚义县| 阿图什市| 芷江| 延津县| 化州市| 临海市| 盈江县|