Hi,
I have console button in TC toolbar, set to run cmd.exe. If I click on it it opens console in current folder of focused pane, but if I right click on it and select "As Administrator" is opens in %systemroot%\system32, hence my topic.
Open Administrative console in current folder
Moderators: Hacker, petermad, Stefan2, white
Elevated processes run in different context so don't inherit environment from parent process. But you can change current folder with such trick:
Code: Select all
Command: *cmd.exe
Parameters: cmd.exe /k "cd /d "%P""