Author Topic: Yet Another Windows 11 Simple Script  (Read 593 times)

td

  • Tech Support
  • *****
  • Posts: 4442
    • WinBatch
Yet Another Windows 11 Simple Script
« 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
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

  • Tech Support
  • *****
  • Posts: 4442
    • WinBatch
Re: Yet Another Windows 11 Simple Script
« Reply #1 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
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade