All Things WinBatch > WinBatch

Yet Another Windows 11 Simple Script


If you are a FileMenu user on Windows 11 and are familiar with Windows 11's Terminal app, this may or may not be of some use. Adding the following to FileMenu's FileMenu for ALL filetype.mnw menu file allows you to launch Terminal from FileMenu.

--- Code: Winbatch ---Terminal(Admin) Here
     a = DirGet()
     ShellExecute( "wt.exe", "-d ":a, "", @NORMAL, "RUNAS" )

You can also use this on the latest versions of Windows 10 but you may need to install the Terminal App first. 

Forgot to include this for any forum members that are interested. It is a link to one of MSFT's Windows Terminal command line documentation sites.


[0] Message Index

Go to full version