2

In Windows 10 I've named my home directory after my first and last name, however, whenever I try to reference a file location in the terminal, it cuts off the path into two paths, here's an example:

C:\Users\My Name\Pictures\abc.png

It returns something like:

directory 'C:\Users\My' could not be found

I'm curious if there is some kind of formatting that could resolve this issue.

1
  • Unsure, but I think Windows will accept %20 instead of a space.
    – Tetsujin
    Commented Sep 15, 2019 at 16:46

1 Answer 1

1

A blank is taken as a separator.

To use in the Command Prompt a folder or file name containing blanks, you need to enclose it in quotes, like this:

"C:\Users\My Name\Pictures\abc.png"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .