I have a file here and I want to run it using the command prompt:
Lets go to the E drive where we had our file and check out the desired folder from power shell.
Now you can not enter the folder as the powershell assumes these 2 different folders
To solve this, go to your folders location:
Then remove the location in the top bar:
Just press it and delete all.
Then write "powershell"
You will be prompted to this window now: