Skip to content

Instantly share code, notes, and snippets.

@EmmaKnijn
Created January 20, 2022 12:25
Show Gist options
  • Save EmmaKnijn/1ee8d85c8f2348256ecc19b4939ad4e5 to your computer and use it in GitHub Desktop.
Save EmmaKnijn/1ee8d85c8f2348256ecc19b4939ad4e5 to your computer and use it in GitHub Desktop.
basically runs %1 as the current user
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