如何修改Anaconda Prompt的用户文件路径?(Python 3.6.3版本)
Hey there! Let's get your Anaconda Prompt opening directly to C:\Users\u354590 in no time. Here's how to do it step by step, tailored to your Python 3.6.3/Anaconda setup:
Change Anaconda Prompt's Default Working Directory to C:\Users\u354590
Step 1: Locate the Anaconda Prompt Shortcut
- On Windows, open your Start Menu and find the Anaconda3 folder.
- Right-click on Anaconda Prompt and select Open file location from the context menu. This will take you to the actual shortcut file (typically in
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Anaconda3).
Step 2: Modify the Shortcut's Properties
- Right-click the Anaconda Prompt shortcut file and choose Properties.
- Switch to the Shortcut tab in the properties window.
- Look for the Start in field (this controls the default directory when the prompt launches).
- Replace the existing path with
C:\Users\u354590(double-check for typos or extra spaces). - Click Apply then OK to save your changes.
Step 3: Verify the Change
- Close any open Anaconda Prompt windows, then launch a new one. It should now start directly in
C:\Users\u354590!
If the shortcut method doesn't work (maybe you've customized your conda setup), try this alternative:
- Find the
anaconda-prompt.batfile (usually inC:\ProgramData\Anaconda3\Scripts). - Open it with a text editor like Notepad.
- Add this line at the end (before any
pauseor exit commands):cd /d C:\Users\u354590 - Save the file and restart Anaconda Prompt.
内容的提问来源于stack exchange,提问作者PineNuts0
相关产品推荐
相关产品推荐

