Skip to content

Instantly share code, notes, and snippets.

@jtrent238
Created December 18, 2018 19:58
Show Gist options
  • Save jtrent238/e4aee727adb3de5e6cba272c91e1a4c2 to your computer and use it in GitHub Desktop.
Save jtrent238/e4aee727adb3de5e6cba272c91e1a4c2 to your computer and use it in GitHub Desktop.
@echo off
cls
::echo Drop the file you want to run on the bat file.
::pause
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment