Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A drive with the name '.C' does not exist #22047

Closed
karrtikr opened this issue Sep 21, 2023 · 0 comments · Fixed by #22046
Closed

A drive with the name '.C' does not exist #22047

karrtikr opened this issue Sep 21, 2023 · 0 comments · Fixed by #22046
Assignees
Labels
experimenting Feature is part of an experiment triage-needed Needs assignment to the proper sub-team

Comments

@karrtikr
Copy link

I also get the same issue, Running any command will prompt Cannot find drive. A drive with the name '.C' does not exist.

PS E:\04Code\Python> a
a: Cannot find drive. A drive with the name '.C' does not exist.
PS E:\04Code\Python> cd
cd: Cannot find drive. A drive with the name '.C' does not exist.
PS E:\04Code\Python> mv
mv: Cannot find drive. A drive with the name '.C' does not exist.

And I noticed a problem with the terminal's PATH environment variable, where one of the paths is incorrectly prefixed with ., whereas in reality the path is not preceded by ..
image

Turning pythonTerminalEnvVarActivation off can resolve the problem.

Python extension version: 2023.16
Vscode version: 1.82.2
OS: Windows 10

Originally posted by @cesaryuan in #21864 (comment)

@karrtikr karrtikr self-assigned this Sep 21, 2023
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Sep 21, 2023
@karrtikr karrtikr added the experimenting Feature is part of an experiment label Sep 21, 2023
karrtikr pushed a commit that referenced this issue Sep 21, 2023
eleanorjboyd pushed a commit to eleanorjboyd/vscode-python that referenced this issue Oct 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
experimenting Feature is part of an experiment triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant