Open Windows Terminal Here
Posted: 17 Jun 2020 09:55
Hello,
I am trying to figure out how to add some of the basic "Open Command Prompt Here" stuff figured out. Specifically though I am hoping to get Windows Terminal working, so I can enjoy WSL 2 and such on Linux with better integration with Xyplorer.
With the help of another forum post here I was able to figure out I could add a basic "Admin Command Prompt Here", and "Admin Powershell Here" commands to the hamburger menu of my Xyplorer. Such as:
::Admin Command Prompt Here;opencommandprompt , , , 1
::Admin Powershell Portable Here;run "pwsh -Command Start-Process Pwsh -Verb RunAs -WorkingDirectory '<curpath>'",,0,0;
I have tried variations upon this theme, but to no avail:
::Admin Windows Terminal Here;run "wt -d '<curpath>'",,0,0;
-d is how you specify the starting directory with windows terminal.
I still have no idea how to add these to my right click context menu's either. =( I found how to extend the right click menu a bit with some built in stuff inside of xyployer's configs, but no way to add custom-custom stuff.
Right now though, I would be really happy if I could at least get windows terminal working correctly. Both admin, and non-admin versions. Can someone please help me?
I am trying to figure out how to add some of the basic "Open Command Prompt Here" stuff figured out. Specifically though I am hoping to get Windows Terminal working, so I can enjoy WSL 2 and such on Linux with better integration with Xyplorer.
With the help of another forum post here I was able to figure out I could add a basic "Admin Command Prompt Here", and "Admin Powershell Here" commands to the hamburger menu of my Xyplorer. Such as:
::Admin Command Prompt Here;opencommandprompt , , , 1
::Admin Powershell Portable Here;run "pwsh -Command Start-Process Pwsh -Verb RunAs -WorkingDirectory '<curpath>'",,0,0;
I have tried variations upon this theme, but to no avail:
::Admin Windows Terminal Here;run "wt -d '<curpath>'",,0,0;
-d is how you specify the starting directory with windows terminal.
I still have no idea how to add these to my right click context menu's either. =( I found how to extend the right click menu a bit with some built in stuff inside of xyployer's configs, but no way to add custom-custom stuff.
Right now though, I would be really happy if I could at least get windows terminal working correctly. Both admin, and non-admin versions. Can someone please help me?