Is there a software for Windows 10 which allows you to copy a file, along with its parent directory, from the context menu?
I've spent quite some time trying to find such software with no luck so far. I understand that I can perform such action using PowerShell script for example, by manually typing the copy and destination path of the file, however this is not what I'm looking…
I've spent quite some time trying to find such software with no luck so far. I understand that I can perform such action using PowerShell script for example, by manually typing the copy and destination path of the file, however this is not what I'm looking for. I am looking specifically software, which allows me to copy file along with its full parent directory from the right-click context menu in Windows 10. If anybody knows about it, I would greatly appreciate for sharing this knowledge with me.
Collected discussion
By "full parent directory", do you mean the full path? As in C:\Users\sandswaters\Documents\TPS Report.docx? If so, then you should be able to hold down the shift key, right-click on the item in File Explorer and select "Copy as path". If you actually want Documents\TPS Report.docx to be copied, then you'll probably need some custom code.
By "full parent directory", do you mean the full path? As in C:\Users\sandswaters\Documents\TPS Report.docx Yes I am looking for any software which would allow me to copy full parent directory (minus the drive/root directory, obviously) of a single file/folder from the Windows' right-click context menu, as an alternative to the standard Copy function. So by your example, copying TPS Report.docx would copy full path Users\sandswaters\Documents\TPS Report.docx. And copying Documents would copy Users\sandswaters\Documents\*. If you actually want Documents\TPS Report.docx to be copied, then you'll probably need some custom code. If you know of any means to do it, I'm willing accept and appreciate any help, in regard to this matter.
Not sure I understand the logic and it looks like Reddit doesn't allow me to paste vbscript. Here is the code you need. Couple of points: Save as MyCopy.vbs and then use the question here to add it to your right-click menu. You can only pass one file/folder at a time. A brief flash will happen whilst clip.exe is run to copy the text to the keyboard. Not much you can do about that I'm afraid.
Not sure if it will be what I am looking for but thank you
You are right. I do see this option in the context menu when I hold shift during right click. However, it's hidden without the shift. (It was kind of weird to me how Windows wouldn't have a such basic function.) But for some reason, when I press on Copy as path in context menu, nothing happens. Clipboard stays empty and nothing gets copied. Quite a peculiar situation. I am unsure why that is.
Are you right clicking a file or right clicking just in the explorer window somewhere? It copies the path of whatever you right clicked on so you have to do it on a file.
Try this hope you would find what you are looking for https://github.com/aungkokomm/RightClickPlus
Right Click - Copy as Path. Not sure if thats because I have powertools installed but its free. CTRL SHIFT C
Highly doubt such thing exist. Even if it does, it most likely just runs pwsh scipt in the background.
Not exactly what you are asking for, but just bypass all that and use Multi Commander or something similar. It's so much easier and more powerful, imho.
you might want to check power toys or context menu customization tools they may have simple solution
Robocopy is built into windows and has option switches to do stuff like this.