DEV Community

Shahriyar Al Mustakim Mitul
Shahriyar Al Mustakim Mitul

Posted on

3

Enter into your folders which has space and command prompt or power shell gives error

I have a file here and I want to run it using the command prompt:

Image description

Lets go to the E drive where we had our file and check out the desired folder from power shell.

Image description

Now you can not enter the folder as the powershell assumes these 2 different folders

Image description

To solve this, go to your folders location:

Image description

Then remove the location in the top bar:

Image description

Just press it and delete all.

Then write "powershell"

Image description

You will be prompted to this window now:

Image description

We have solved such a big issue! 😵‍💫

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs