Skip to content

[BUG] 'clear' is not recognized as an internal or external command #1822

Description

@gabriel1628

Describe the bug
When trying to create a new Databricks project I get the following error after authentication:

C:\Users\USER~1.NAM\AppData\Local\Temp>clear; echo "Executing: databricks bundle init --output-dir "c:\Users\user.name\Documents\databricks-test"
'clear' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER~1.NAM\AppData\Local\Temp>Follow the steps below to create your new Databricks project.
'Follow' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER~1.NAM\AppData\Local\Temp>"; 'c:\Users\user.name\.vscode\extensions\databricks.databricks-2.9.4-win32-x64\bin\databricks' bundle init --output-dir "c:\Users\user.name\Documents\databricks-test"; echo "
The filename, directory name, or volume label syntax is incorrect.

C:\Users\USER~1.NAM\AppData\Local\Temp>Press any key to close the terminal and continue ..."; read; exit
'Press' is not recognized as an internal or external command,
operable program or batch file.

To Reproduce
Steps to reproduce the behavior:

  1. Install the extension and restart extensions
  2. Click on the Databricks extension on the left panel
    3.Click on Create a new Databricks project
  3. Complete on-screen instructions to authenticate to Databricks (OAuth in my case)
  4. Select a folder where you want your project to be
  5. See error

Screenshots

C:\Users\USER~1.NAM\AppData\Local\Temp>clear; echo "Executing: databricks bundle init --output-dir "c:\Users\user.name\Documents\databricks-test"
'clear' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER~1.NAM\AppData\Local\Temp>Follow the steps below to create your new Databricks project.
'Follow' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\USER~1.NAM\AppData\Local\Temp>"; 'c:\Users\user.name\.vscode\extensions\databricks.databricks-2.9.4-win32-x64\bin\databricks' bundle init --output-dir "c:\Users\user.name\Documents\databricks-test"; echo "
The filename, directory name, or volume label syntax is incorrect.

C:\Users\USER~1.NAM\AppData\Local\Temp>Press any key to close the terminal and continue ..."; read; exit
'Press' is not recognized as an internal or external command,
operable program or batch file.

System information:

  1. Version: 1.107.0 (user setup)
    Commit: 618725e67565b290ba4da6fe2d29f8fa1d4e3622
    Date: 2025-12-10T07:43:47.883Z
    Electron: 39.2.3
    ElectronBuildId: 12895514
    Chromium: 142.0.7444.175
    Node.js: 22.21.1
    V8: 14.2.231.21-electron.0
    OS: Windows_NT x64 10.0.26200
  2. Databricks Extension Version: 2.10.4

Databricks Extension Logs
databricks-cli-logs.json
sdk-and-extension-logs.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions