-1
文件我有以下命令
"C:\Program Files\File Checksum Integrity Verifier\fciv.exe" -sha1 "D:\new.txt"
校验和VBScript中
如何运行从VBScript这个命令?有谁能够帮助我?
文件我有以下命令
"C:\Program Files\File Checksum Integrity Verifier\fciv.exe" -sha1 "D:\new.txt"
校验和VBScript中
如何运行从VBScript这个命令?有谁能够帮助我?
的VBScript配有几种不同的方法来执行命令行,这两者都是WshShell对象上(WScript.Shell)
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("""C:\Program Files\File Checksum Integrity Verifier\fciv.exe"" -sha1 ""D:\new.txt""")
Do While oExec.Status = 0
WScript.Sleep 100
Loop
WScript.Echo oExec.Status
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run """C:\Program Files\File Checksum Integrity Verifier\fciv.exe"" -sha1 ""D:\new.txt""", 1, true
如何将结果存储在由fciv生成的变量中? – Tjs 2013-05-21 06:24:42