-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
hi, need help runing powershell in the current directory tab, im using the %Focused% variable but cant do it right..
i make a new item and EXEC this..
powershell.exe -noexit -command "cd %Focused%"
cant make it work :(
i have a portable tablacus version, maybe enviorement variables are not set?
------- already fixed! -------
it was %current%, not %focused%.. :)
working perfect now!
powershell -Command "Set-Location '%current%'; [System.IO.Directory]::SetCurrentDirectory('%current%'); $Host.UI.RawUI.WindowTitle = 'PS $PWD'; powershell"
and for CMD console use:
cmd /k cd /d "%current%"
Metadata
Metadata
Assignees
Labels
No labels