It would be nice to have a CTRL+* where * is some other letter, that would copy to the clipboard the path relative to another path (assuming its on the same drive) that can be set. By default this can be the XYplorer.exe file.
This helps in filling the portable file associations for other portable apps.
And numerous other uses
Relative path (copy) similar to CTRL-P for absolute path
-
- Posts: 31
- Joined: 04 Feb 2013 09:55
Re: Relative path (copy) similar to CTRL-P for absolute path
Got a similar requirement and found this post.
Basically had to write a batch file to copy/move/delete some files that use relative paths.
Along with the many other "To clipboard" menu, if another option there to copy relative path from say a drop box of all parent directories would be helpful.
If any other method already there in XYPlorer, please let me know.
Just to make it clear a small eg.
d:\temp\test1.txt
d:\temp\test2.txt
Right click both files "To Clipboard" => Relative Path => A dialog like popup giving the the full parent tree, so the user can select either D: or "temp".
Say user selected temp, clipboard contents:
temp\test1.txt
temp\test2.txt
Thanks,
Mahesh S.
Basically had to write a batch file to copy/move/delete some files that use relative paths.
Along with the many other "To clipboard" menu, if another option there to copy relative path from say a drop box of all parent directories would be helpful.
If any other method already there in XYPlorer, please let me know.
Just to make it clear a small eg.
d:\temp\test1.txt
d:\temp\test2.txt
Right click both files "To Clipboard" => Relative Path => A dialog like popup giving the the full parent tree, so the user can select either D: or "temp".
Say user selected temp, clipboard contents:
temp\test1.txt
temp\test2.txt
Thanks,
Mahesh S.
-
- Site Admin
- Posts: 63413
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Relative path (copy) similar to CTRL-P for absolute path
Hmm, not really convinced (both posts). Both can be achieved relatively easy by scripting.
FAQ | XY News RSS | XY Bluesky
Re: Relative path (copy) similar to CTRL-P for absolute path
resolvepath() in "inverse" mode is the way.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Re: Relative path (copy) similar to CTRL-P for absolute path
Thanks, TheQwerty.
Can you please put a readme. I see lot of downloads on it and I am sure more will in future. So one readme will help so many users.
Can you please put a readme. I see lot of downloads on it and I am sure more will in future. So one readme will help so many users.
Re: Relative path (copy) similar to CTRL-P for absolute path
What do you think should be said which isn't?gtm wrote:Thanks, TheQwerty.
Can you please put a readme. I see lot of downloads on it and I am sure more will in future. So one readme will help so many users.