Reputation: 4605
I frequently need to copy the file path of an object in Windows, so that I can paste it into a tool like the command line or Powershell. How can I quickly do this, without having to go to an object's properties and copying the path from there?
Upvotes: 7
Views: 17835
Reputation: 385
I use the open source tool Path Copy Copy, as this offers the ability to copy the path in multiple formats:
Image below shows the default Path Copy Copy context menu:
Upvotes: 2
Reputation: 4605
Pressing Shift + Right Click will bring up an additional item in the context menu for you, labeled "Copy as path".
This will return the file path as a string, and it will be saved to your clipboard.
Upvotes: 17