资讯

Do you have a batch file that must run as admin? Use this trick to save some extra steps on Windows 11.
If you wish to elevate & always run a Batch file as administrator in Windows 11/10, follow the procedure laid down in this post. You can run Batch file as Administrator without a prompt.
You can stop or prevent Command Prompt from closing immediately after opening or executing a batch file using Pause, cmd /k or editing Registry.