Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, November 20, 2017 8:07 PM
Hi,
When I open a command prompt window, I am dropped in my mapped network home directory (U:). If I do the same while running as administrator, I wind up in C:\Windows\System32. Is there a way I can set it so that I am placed in my home directory (C:\Users\Me)? Does Windows 10 have something like a .bashrc file? Is there also a shortcut for getting to home? Like UNIX's ~ ?
Thanks
Jason
All replies (4)
Tuesday, November 21, 2017 7:44 AM ✅Answered
Hi Jason,
My cmd.exe tool shotcut located in C:\Users\user name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools.
After I right click this shortcut and choose Properties\Shortcut\Start in to %HOMEDRIVE%%HOMEPATH%, it will open with C:\users\username.
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, November 21, 2017 1:58 PM ✅Answered
This is great. Thank you very much!
Jason
Tuesday, November 21, 2017 12:58 AM
Hi,
Usually I do it like this:
(1) create a shortcut of "cmd.exe" in my Desktop
(2) right click on the shortcut and select [Properties]
(3) input "C:\Users\your account>" in [Start in]
Regards,
Ashidacchi
Tuesday, November 21, 2017 1:58 PM
Thanks for the info. Much appreciated!
Jason