If you wish to elevate and always run a Batch file as an administrator in Windows 11/10, follow the procedure laid down in this post. You can run a Batch file as Administrator without a prompt. You ...
One of the other problems that I ran into when trying to make my DOS prompt behave more like my Unix systems was how to invoke my carefully crafted macros every time I opened a new DOS command window.