Page 1 of 1
Relative path (copy) similar to CTRL-P for absolute path
Posted: 25 Jun 2012 04:56
by gtm
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
Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 20 Jun 2013 12:39
by smahesh555
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.
Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 20 Jun 2013 14:07
by admin
Hmm, not really convinced (both posts). Both can be achieved relatively easy by scripting.
Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 20 Jun 2013 15:07
by Marco
resolvepath() in "inverse" mode is the way.
Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 20 Jun 2013 18:36
by TheQwerty
Scripting solution now available!
Spent a little too long on that this morning!

Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 11 Dec 2013 07:23
by gtm
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.
Re: Relative path (copy) similar to CTRL-P for absolute path
Posted: 16 Dec 2013 15:34
by TheQwerty
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.
What do you think should be said which isn't?