Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ffcommax/b71888d0e1d8aca6b79cddc08d50b876 to your computer and use it in GitHub Desktop.
Save ffcommax/b71888d0e1d8aca6b79cddc08d50b876 to your computer and use it in GitHub Desktop.
Running .BAT or .CMD files hidden (invisible mode) Using Script
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Batch Files\syncfiles.bat" & Chr(34), 0
Set WshShell = Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment