Yet Another Windows 11 Simple Script

Started by td, January 14, 2023, 08:29:13 AM

Previous topic - Next topic

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) 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. 
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

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
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade