All Things WinBatch > WinBatch
Yet Another Windows 11 Simple Script
(1/1)
td:
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.
td:
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.
https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows
Navigation
[0] Message Index
Go to full version