This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: This hides the shell window while running commands | |
:: after first run, inv.vbs is created in %temp%... Invoke like this in future runs to hide window: | |
:: inv.vbs r1.cmd ry | |
@echo off | |
cd %temp% | |
if not exist inv.vbs ( | |
echo CreateObject^("Wscript.Shell"^).Run "" ^& WScript.Arguments^(0^) ^& "", 0, False > inv.vbs | |
inv.vbs "r1.cmd ry" | |
exit |
NewerOlder