I'm trying to setup a Custom Event Action for "middle click on white in file list" to launch windows terminal.
I'm using the "Run script" action with the following script:
Code: Select all
run "%APPDATA%\..\Local\Microsoft\WindowsApps\wt.exe"
The above script works, so I tried modifying it to launch the terminal in the current directory:
Code: Select all
run '"%APPDATA%\..\Local\Microsoft\WindowsApps\wt.exe" nt -d <curpath>'
But it doesn't work! I'm probably making a mistake escaping the strings, but am new to XY scripting and was just trying to follow the docs.
How should I escape the run string properly? Do i need to use runq?