I have a custom folder context menu command that calls a PowerShell script.
How can I set the Start-in folder to the same folder from where I launch the Folder right click context?
Additional Info:
My PowerShell script is in a fixed location.
But, I need it to start "in the current lister folder" where I instantiated the folder context menu, even if the folder is empty or nothing is selected. This is because my script saves a new file to the "Get-Location" folder path returned by PowerShell.
I have tried a variety of Go and CD commands with arguments, but can't seem to pick the right one.
Any suggestions?