Skip to content

Instantly share code, notes, and snippets.

@rubyu
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubyu/889bb68ff7f583c11a41 to your computer and use it in GitHub Desktop.
Save rubyu/889bb68ff7f583c11a41 to your computer and use it in GitHub Desktop.
VD verify
@echo off
cat /dev/sda | pv -q --rate-limit 10m > nul
Option Explicit
Const vbHide = 0
Dim ws
Set ws = CreateObject("Wscript.Shell")
ws.Run "cmd /c C:\diskcheck\diskcheck.bat", vbHide, True
@rubyu
Copy link
Author

rubyu commented Sep 28, 2014

VD verify

Usage:
C:\Windows\System32\wscript.exe C:\diskcheck\diskcheck.vbs

Requirements:

  • cat.exe
  • cygiconv-2.dll
  • cygintl-8.dll
  • cygwin1.dll
  • pv.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment