Command Prompt Error 'C:\Program' is not recognized as an internal or external command

Опубликовано: 14 Октябрь 2024
на канале: E Micro Tech
5,819
17

Solution:
You need to put the command in double quotes ".
If a directory has white spaces in, put quotes around it. This includes the program you're calling, not just the arguments.
example:
dir "C:\Program Files\7-Zip" ( correct )
dir C:\"Program Files"\7-Zip ( not correct )