Start command shell in Administrator mode (Ctrl Shift K) starts in wrong folder
ScottHollows opened this issue · comments
Issue) If you press CTRL SHIFT K the command shell opens in Administrator mode with the current working directory being C:\Windows\system32
Expected Behaviour the current working directory should be the current directory in file manager
This issue only occurs when opening the shell in Administrator mode (CTRL SHIFT K).
It does not occur when opening the shell in normal mode (CTRL K)
When fixing the issue, please test for the current drive being C: and also test another drive as well as C: is the default
Occurs in;
- File Manager 10.1.4.0
- File Manager 10.1.4.49
- File Manager 10.2.0.0 - latest release
I came around this too, but I doubt this is a bug but more a feature:
The 'Start in' is explicitly ignored when elevation is performed so that malicious binaries can do less harm.
We could overcome this by appending /k cd /d <path> when issuing cmd.exe
Well, it is not by design, just a bug I never got around to fixing.
I logged the bug.
I am closing it now as resolved
Thank you to everyone who helped with this