DEV Community

Shahriyar Al Mustakim Mitul
Shahriyar Al Mustakim Mitul

Posted on

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! ๐Ÿ˜ตโ€๐Ÿ’ซ

Top comments (0)