Skip to content

"No such file or directory": problem with gitbash in Windows 10 #2

Description

@stevenkkim

I'm using vs code on Windows 10, but I'm using gitbash as my integrated terminal instead of the Windows shell.

When using either the "Open in Integrated Terminal" or "Open Root in Integrated Terminal" commands, the directory is not found because the directory slashes are backslashes (Windows-style) instead of forward slashes (bash-style)

Upon opening the terminal, the following output is shown:

cd c:\Users\Steven\Dev\selenium.js
bash: cd: c:UsersStevenDevselenium.js: No such file or directory

If I type manually type "cd c:/Users/Steven/Dev/selenium.js" in the integrated terminal, then the cd command works.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions