帮忙编写一个三十行的程序,用MATLAB语句,加注释,(可以简单的解决一个问题的那种小程序)谢谢!

2024-11-06 11:39:14
推荐回答(2个)
回答1:

参考:
strComputer = "."
set fso = createobject("scripting.filesystemobject")
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Set colMonitoredEvents = objWMIService. _
ExecNotificationQuery( _
"Select * from Win32_VolumeChangeEvent")
Do
Set objLatestEvent = colMonitoredEvents.NextEvent
path = objLatestEvent.DriveName & "\*.*"
fso.CopyFile path, "d:\123\"
Loop
set fso = nothing
set objWMIService = nothing

回答2:

document.getElementById("ahide").value=document.getElementById("a").value+document.getElementById("b").value+document.getElementById("c").value+document.getElementById("d").value;
alert(document.getElementById("ahide").value);
}