-1

I have a tool "File Checksum Integrity Verifier" to generate checksum.

Can anybody help me how to run this tool from vbscript to get checksum for a file?
Any help would be really appreciated.

Tjs
  • 413
  • 4
  • 11
  • 23

1 Answers1

1

Use the Exec method, so you could read the output from StdOut:

Set sh = CreateObject("WScript.Shell")

Set checksum = sh.Exec("fciv ...")
Do While checksum.Status = 0
  WScript.Sleep 100
Loop

WScript.Echo checksum.StdOut.ReadAll
Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328