If I only put the “” around the path, it says it cannot locate it,
Then you’re providing the wrong path. Double check to make sure it’s a valid directory. If you want to reply with that command you’re running I can take a look to see if I spot anything wrong.
it can only locate it when I enclose the entire command line in quotes
It’s not finding it, it’s showing you a completely different error message