请问这几段脚本是什么的意思是什么~非常感谢

安卓这段刷机脚本是什么意思?_百度知道
安卓这段刷机脚本是什么意思?
还有就是我问一下刷机包中没有RECOBERY胆识刷机脚本中有这段命令package_extract_dir(&recovery&,&&/system&);那么可不可以删除
提问者采纳
参见update-script语法
提问者评价
原来是这样,感谢!
其他类似问题
为您推荐:
安卓的相关知识
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁&幽默笑话百态军事探索娱乐女性健康旅游互联网&&一、在网络硬件故障或网络故障断开时发送警告
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\wmi")
Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
("Select * from MSNdis_StatusMediaDisconnect")
Do While True
Set strLatestEvent = colMonitoredEvents.NextEvent
Wscript.Echo "A network connection has been lost:"
WScript.Echo strLatestEvent.InstanceName, Now
Wscript.Echo
调用方法示例:cscript 网络断开.vbs && F:\test\微软脚本\log.txt
二、在网络硬件连接成功或网络故障恢复连接时发送警告
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\wmi")
Set colMonitoredEvents = objWMIService.ExecNotificationQuery _
("Select * from MSNdis_StatusMediaConnect")
Do While True
Set strLatestEvent = colMonitoredEvents.NextEvent
Wscript.Echo "A network connection has been made:"
WScript.Echo strLatestEvent.InstanceName, Now
Wscript.Echo
调用方法示例:cscript 网络连接.vbs && F:\test\微软脚本\log.txt
三、获取所有域用户信息
Const ADS_SCOPE_SUBTREE = 2
Set objConnection = CreateObject("ADODB.Connection")
Set objCommand =
CreateObject("mand")
objConnection.Provider = "ADsDSOObject"
objConnection.Open "Active Directory Provider"
Set objCOmmand.ActiveConnection = mandText = _
"Select Name, Location from 'LDAP://DC=DomainName,DC=com' " _
& "Where objectClass='computer'"
objCommand.Properties("Page Size") = 1000
objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE
Set objRecordSet = objCommand.Execute
objRecordSet.MoveFirst
Do Until objRecordSet.EOF
Wscript.Echo "Computer Name: " & objRecordSet.Fields("Name").Value
Wscript.Echo "Location: " & objRecordSet.Fields("Location").Value
objRecordSet.MoveNext
调用方法示例:cscript 域用户信息.vbs && F:\test\微软脚本\域用户信息.txt
四、修改文本文件内容
Const ForReading = 1
Const ForWriting = 2
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile = objFSO.OpenTextFile("sample.ini", ForReading)
Do Until objTextFile.AtEndOfStream
strNextLine = objTextFile.Readline
intLineFinder = InStr(strNextLine, "UserName")
If intLineFinder && 0 Then
strNextLine = "UserName=邀月工作室"
strNewFile = strNewFile & strNextLine & vbCrLf
objTextFile.Close
Set objTextFile = objFSO.OpenTextFile("sample.ini", ForWriting)
objTextFile.WriteLine strNewFile
objTextFile.Close
调用方法示例:ModifyFile.vbs
Sample.ini:
[OEM Install]
ProgGroupName=
DefaultDestDir=
UserCompanyName=
UserSerialNumber=
五、通过脚本发送电子邮件
从安装了 SMTP Service 的计算机中发送电子邮件的脚本。
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "[url=mailto:][/url]"
objEmail.To = "[url=mailto:][/url]"
objEmail.Subject = "Atl-dc-01 down"
objEmail.Textbody = "Atl-dc-01 is no longer accessible over the network."
objEmail.Send
调用方法示例:SendMail.vbs
六、在没有 SMTP Service 的条件下发送电子邮件
脚本设计用来在 Microsoft 的公司网络上进行工作。
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "[url=mailto:][/url]"
objEmail.To = "[url=mailto:][/url]"
objEmail.Subject = "Server down"
objEmail.Textbody = "Server1 is no longer accessible over the network."
objEmail.Configuration.Fields.Item _
("[url=/cdo/configuration/sendusing]/cdo/configuration/sendusing[/url]") = 2
objEmail.Configuration.Fields.Item _
("[url=/cdo/configuration/smtpserver]/cdo/configuration/smtpserver[/url]") = _
"smarthost"
objEmail.Configuration.Fields.Item _
("[url=/cdo/configuration/smtpserverport]/cdo/configuration/smtpserverport[/url]") = 25
objEmail.Configuration.Fields.Update
objEmail.Send
调用方法示例:SendMailNoSMTP.vbs
七、将新的记录添加到数据库中
通过脚本检索计算机声卡的信息,然后将这些信息保存到带有 DSN Inventory 的 ADO 数据库中。
Const adOpenStatic = 3
Const adLockOptimistic = 3
Const adUseClient = 3
Set objConnection = CreateObject("ADODB.Connection")
Set objRecordset = CreateObject("ADODB.Recordset")
objConnection.Open "DSN=I"
objRecordset.CursorLocation = adUseClient
objRecordset.Open "SELECT * FROM Hardware" , objConnection, _
adOpenStatic, adLockOptimistic
Set colSoundCards = GetObject("winmgmts:").ExecQuery _
("Select * from Win32_SoundDevice")
For Each objSoundCard in colSoundCards
objRecordset.AddNew
objRecordset("ComputerName") = objSoundCard.SystemName
objRecordset("Manufacturer") = objSoundCard.Manufacturer
objRecordset("ProductName") = objSoundCard.ProductName
objRecordset.Update
objRecordset.Close
objConnection.Close
调用方法示例:AddOneRecord.vbs&  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。&&&&&&&王朝美图& 06:47:28&&&&&&&转载本文&UBB代码&HTML代码复制到剪贴板...&更多内容··········&&&&频道精选
&&&网友关注··········&&热点推荐&01&&02&&03&&04&&05&&06&&07&&08&&09&&10&&&&王朝女性&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&王朝分栏&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&王朝编程&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&王朝导购&&|&&|&&|&&|&&|&&|&&|&&|&&|&&|&王朝其他&&|&&|&&|&&|&&|&&|&&&&2005-&&版权所有&这段脚本什么意思_百度知道
这段脚本什么意思
prm/ EndSql &$sqlinfospool $PASSWORD;set lines 2000;set pages 0;exit.cfgDbCon=$PassWordfilename=$1sqlinfo=$2##从这开始就不明白了sqlplus -S $DbCon&db_cfg&#47. $HOME/ set trimout on
提问者采纳
& set pages 0sqlplus -S $DbCon&spool $ EndSql 是here document用法;set lines 2000;set feedback off。连接到mysql数据库上执行set trimspool on。here document的用处是将 后面的内容作为命令的输入自动提供给前面的命令
提问者评价
我这个连的应该是oracle下面寻些命令具体是做什么的啊
其他类似问题
为您推荐:
其他1条回答
AS = 0.002; PC =
&#47function III() { PW = 350;; PH = 450.08.4; SN = 0; DR = 0; MP = 36;* 0xFFFFFF */ DA = 20
等待您来回答
下载知道APP
随时随地咨询
出门在外也不愁谁能给个好用的脚本 非常感谢了_dnf阿修罗吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:589,988贴子:
谁能给个好用的脚本 非常感谢了
………………再次感谢…………………
感谢特仑苏!把卡亲自送...
显卡NVIDIA GeForce GT ...
妈妈要在网上考试 随便...
@笑看浮生这条狗 ,号以...
他是转校生。学校里的大...
谢谢了,很感动!谢谢你...
刚买的为什么SPF就四十...
圆满结束!感谢大家!
卡组基本自己组的加修改...
我是来说不用谢的
/tc?t=wapp&ssid=0&from=0&bd_page_type=1&uid=&pu=&sec=&di=11e59fa34faa98cca2290e&src=http%3A%2F%%2Fthread--1.html 注册,下载
贴吧热议榜
使用签名档&&
保存至快速回贴

我要回帖

更多关于 qq三国脚本是什么 的文章

 

随机推荐