Way to make script symlinks from inside xyplorer

Features wanted...
CookieMonster

Re: No Target shown for Symbolic links

Post by CookieMonster »

SammaySarkar wrote:Then, I wonder why on earth you were talking about JUNCTIONS! :blackstorm:
==================================================================
I wasn't always talking about junctions, the terminology got fumbled during the thread; I did mentione hard links a few times.
Last edited by CookieMonster on 12 Aug 2015 16:09, edited 1 time in total.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: No Target shown for Symbolic links

Post by bdeshi »

to sum up, the topic title says symbolic links, you kept mentioning junctions, now hardlinks have joined the party.

I'm going to post a solution to our dilemma... but I wonder if I should wait and see if anything else turns up.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: No Target shown for Symbolic links

Post by klownboy »

Decent article: http://www.techrepublic.com/blog/window ... link-tool/ but I'm staying out of it. :)
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: No Target shown for Symbolic links

Post by bdeshi »

try this color filter definition.

Code: Select all

!prop:#hardlinks: 1
or this one, which is given in the help file, in the color filters page.

Code: Select all

prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, all

Code: Select all

attr:junction;prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, and regular shorcuts

Code: Select all

name f:*.lnk;attr:junction;prop:#hardlinks: > 1
[ed.]


There's no way to distinguish between an original file and it's hardlink*, so both will be colored.

[*in fact, there's no such thing as "original file".]

good bye now.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: No Target shown for Symbolic links

Post by highend »

Herr wirf Hirn vom Himmel...

I think I'll just delete all future postings of this "guy"...
Create a new column, set the property as a link target, then set the column special property as a junction target; what should I notice ?
The method I described; is the method one should use to create a column that shows symbolic links / junctions, no ?
Although, after doing all this, the junctions / symbolic links are not colorized ?
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: No Target shown for Symbolic links

Post by CookieMonster »

SammaySarkar wrote:try this color filter definition.

Code: Select all

!prop:#hardlinks: 1
or this one, which is given in the help file, in the color filters page.

Code: Select all

prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, all

Code: Select all

attr:junction;prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, and regular shorcuts

Code: Select all

name f:*.lnk;attr:junction;prop:#hardlinks: > 1
[ed.]


There's no way to distinguish between an original file and it's hardlink*, so both will be colored.

[*in fact, there's no such thing as "original file".]

good bye now.
One should run any of the above commands with the hard link file selected ?

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: No Target shown for Symbolic links

Post by bdeshi »

NO! that's a COLOR FILTER
You KNOW how to set one up! HERE! >> http://www.xyplorer.com/xyfc/viewtopic. ... er#p126520
<<
Remember?


Do whatever you want with the that link.
I, too, am done here - don't want to lose my my temper over any hard, soft, raw or deepfried links.
[aargh, desperately need some humor!]


====================================================≠


I even explicitly mentioned the words "color filter". Why would you think they're some "commands"?
If you learn that a lion has escaped from the local zoo, then something scratches at your door, and you see a lion thru the peephole, do you think maybe that's a hamster?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

CookieMonster

Re: No Target shown for Symbolic links

Post by CookieMonster »

SammaySarkar wrote:try this color filter definition.

Code: Select all

!prop:#hardlinks: 1
or this one, which is given in the help file, in the color filters page.

Code: Select all

prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, all

Code: Select all

attr:junction;prop:#hardlinks: > 1
or this one, to color junctions, symlinks and hardlinks, and regular shorcuts

Code: Select all

name f:*.lnk;attr:junction;prop:#hardlinks: > 1
[ed.]


There's no way to distinguish between an original file and it's hardlink*, so both will be colored.

[*in fact, there's no such thing as "original file".]

good bye now.
The first color filter worked, my hard link is colored. The junction column is not required. I assume there is no way for XY to list where the hard link location is related to ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: No Target shown for Symbolic links

Post by highend »

I assume there is no way for XY to list where the hard link location is related to ?
Correct. Although this could be done with a custom column, a script, and a command line tool. Google knows more about such tools...
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: No Target shown for Symbolic links

Post by CookieMonster »

highend wrote:
I assume there is no way for XY to list where the hard link location is related to ?
Correct. Although this could be done with a custom column, a script, and a command line tool. Google knows more about such tools...
Anything in particular I should search for or that you are aware of ? :)

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Way to make script symlinks from inside xyplorer

Post by highend »

No, just search for "weather statistics"... It will 100% match what the whole thread is all about...
One of my scripts helped you out? Please donate via Paypal

CookieMonster

Re: Way to make script symlinks from inside xyplorer

Post by CookieMonster »

highend wrote:No, just search for "weather statistics"... It will 100% match what the whole thread is all about...
Your reply was more of a blues clues, why I asked ?

CookieMonster

Re: Way to make script symlinks from inside xyplorer

Post by CookieMonster »

The only things I have come across are a program called; Link Shell extension & Disk Junction.

CookieMonster

Re: No Target shown for Symbolic links

Post by CookieMonster »

highend wrote:
I assume there is no way for XY to list where the hard link location is related to ?
Correct. Although this could be done with a custom column, a script, and a command line tool. Google knows more about such tools...
HighEnd, I've asked around and outside of XYplorer, I've been told it's not possible ?

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Way to make script symlinks from inside xyplorer

Post by highend »

Really? I suggest those people should read a bit more about fsutil.exe before they claim such things...
One of my scripts helped you out? Please donate via Paypal

Post Reply