0

My Command Prompt is Broken When I start a file in C:/users/Guo Xin it will say windows Cannot find C:/users/Guo It can't read folder/file with Space in the pathname Please Help me fix this Broken Command Prompt

Example Photo

#Broken Command Prompt #Command Prompt Error

m4n0
  • 29,823
  • 27
  • 76
  • 89
  • You might want to look at other questions like https://stackoverflow.com/questions/6376113/how-do-i-use-spaces-in-the-command-prompt – Progman Sep 18 '21 at 08:43

1 Answers1

4

Wrap your path with quotation marks:

"C:/users/My name"

Also, this is not "broken command prompt", that's how every terminal works.

Adrian Kokot
  • 2,172
  • 2
  • 5
  • 18
  • [Watch This Video](https://files.fm/u/t62urp86w#/view/gar9u3pe8) – Chan Guo Xin Sep 18 '21 at 08:33
  • 1
    @ChanGuoXin Do not use the `start` command, as it creates a new command prompt (you don't need/want). Also, when the first argument of the `start` command is a string with quotes (`"`) it is used as the title for the new window, not for the program you want to executed. – Progman Sep 18 '21 at 08:41