In Windows, you can’t copy items from the Command Prompt by default. But there’s a Quick Edit option in settings that allows you to highlight and copy command prompt items to clipboard. Here’s how.
Open Command Prompt, right click on the title bar and select Properties.
Alternatively, you can search for Command Prompt from Start Menu and go to its Properties from the shortcut icon.
Under Options tab, check the box that says Quick Edit Mode and click Ok.
Now when you’re working in the Command Prompt, highlight what you need to copy and press Ctrl + C on your keyboard. It will copy the path and you can paste it anywhere you want.
At any point, if you want to disable quick edit mode, simple go to Properties and uncheck Quick Edit Mode.