How to launch Anaconda Administrator (elevated) Command Console into the Windows 10 UserProfile directory, NOT "c:WindowsSystem32"

  anaconda3, python, windows

How do I launch Anaconda Administrator (elevated) Command Console into the Windows 10 UserProfile directory, NOT "c:WindowsSystem32" ?

PROBLEM:

I want to do this because it is a hassle to constantly have to change my working directory from "c:WindowsSystem32" to "c:usersmylogin" directory every time I start Anaconda Administrator Consoles. The default Windows behavior is to ALWAYS launch administrator-privileged terminals in "c:Windowssystem32". This is a frequently used action as a Python programmer, sometimes executed multiple times per day, wasting my precious time.

WHAT I TRIED:

I tried modifying my taskbar and Windows Start button shortcut for the Anaconda Administrator Prompt with the "Start In: = %USERPROFILE%" but that does nothing. It still launches the Admin console in c:windowssystem32.

I looked high and low for solutions. Someone suggested changing Windows Registry entry for CMD.exe, which is draconian and could screw up my Windows system when various other scripts run. This SO question suggests that, but also explains why the default Windows behavior does what’s expected.

Does anyone have a good solution for this problem?

Source: Windows Questions

LEAVE A COMMENT