WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: td on January 14, 2023, 08:29:13 AM

Title: Yet Another Windows 11 Simple Script
Post by: td on January 14, 2023, 08:29:13 AM
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) Select
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. 
Title: Re: Yet Another Windows 11 Simple Script
Post by: td on January 17, 2023, 08:54:44 AM
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