Run commands on Windows invisibly
This is a very simple vbs script that runs the batch script or command passed to it without anything appearing on screen. If you put it in a folder and add the folder to you user PATH, you can use it as follows:
invisible assoc
invisible echo hello
invisible <command> <with> <args> <"as you'd usually enter it in command line">
You can also do: