NL_Info: Content plugin showing information about NTFS links

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Stefan2, white, sheep, Hacker

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

NL_Info: Content plugin showing information about NTFS links

Post by *Flint » 2005-02-20, 11:55 UTC

I wrote a new plugin: NL_Info.
It shows information about hard links and reparse points on NTFS volumes. It allows to display number of hard links for every file, and also the type and the target for reparse points (junctions and mount points; the other name is symbolic links). The detailed description of all plugin's fields is in the ReadMe-file in the archive.

Download the latest version:
x32+x64 / mirror (43 Kb)
Source code (C++) / mirror (14 Kb)
Last edited by Flint on 2011-10-08, 13:13 UTC, edited 2 times in total.

icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu » 2005-02-20, 14:08 UTC

Very useful, thanks. :)

Icfu
This account is for sale

Symlink
Junior Member
Junior Member
Posts: 18
Joined: 2005-01-21, 14:55 UTC
Location: .at

Post by *Symlink » 2005-02-20, 14:18 UTC

Thank you for making your plugin available. Unfortunately I have a problem using it. When I try loading it (either via automatic installation or via the plugin configuration interface dialog) it tells me: "Error loading plugin file! The plugin probably needs some DLLs missing on your system." What DLLs could these be? I am using Windows 2000 SP4 so I guessed junction support should be included already.

Thanks for any help.
Regards,
Sym

User avatar
Lefteous
Power Member
Power Member
Posts: 9450
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2005-02-20, 14:23 UTC

2Symlink
Is there a file MFC42U.DLL in your System32 directory? It's required by the plugin.

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-02-20, 14:27 UTC

MFC42U.DLL can be found on this address:
http://wincmd.ru/files/mfc42u.rar
I have not seen any system without this file, that's why I thought it is present everywhere... :(

I added the link in the first post.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
franck8244
Power Member
Power Member
Posts: 702
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 » 2005-02-20, 14:44 UTC

From fileinfo.wlx, there is a function missing in Kernel32.dll :

GetVolumePathNameForVolumeNameW
Last edited by franck8244 on 2005-02-20, 15:49 UTC, edited 1 time in total.
TC#88260 -

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-02-20, 16:04 UTC

franck8244
Oh, you are right... This function appeared in WinXP, not in Win2000... :(
Can you try please the file http://webfile.ru/193993 - will it work?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
franck8244
Power Member
Power Member
Posts: 702
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 » 2005-02-20, 16:18 UTC

2Flint

FileInfo.wlx said that is was OK .... (no missing functions)

I can't tell you more because I have no "junction"... but it should work :wink:
TC#88260 -

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-02-20, 16:55 UTC

I tried on some other machine that works under Win2000 and it works correctly... So, version 1.01. :)
The download link remains the same: http://wincmd.ru/download.php?id=nl_info

User avatar
Lefteous
Power Member
Power Member
Posts: 9450
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2005-09-11, 17:15 UTC

2Flint
Hi,

I have some little requests for your nice plugin:
1) The term junction is not used correctly in your plugin. "Reparse point" would be correct.
2) For the junction type it would be nice to have an additional entry to choose from "No reparse point" or "ordinary directory". When I want to select everything what is not a junction in a directory I have to select the junctions and then invert the selection.
3) An additional field "Valid target" (Yes/no) would be nice. I would like to find junctions pointing to deleted directories. Currently I have to do this manually...

Thanks in advance!

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-09-11, 17:26 UTC

Lefteous
1) The term junction is not used correctly in your plugin. "Reparse point" would be correct.
I took the terms from the source code of the program "junction.exe" (and also from its name :) ) by Mark Russinovich who is a very qualified specialist in Windows. I think, he use the correct terminology.
2) For the junction type it would be nice to have an additional entry to choose from "No reparse point" or "ordinary directory". When I want to select everything what is not a junction in a directory I have to select the junctions and then invert the selection.
Hm... Maybe, I will add this as an additional field type, because when I use the plugin by myself, the empty fields near the usual folders help me very much to quickly distinguish them from the reparse points.
3) An additional field "Valid target" (Yes/no) would be nice. I would like to find junctions pointing to deleted directories. Currently I have to do this manually...
A very good idea! I'll surely add this in the next version, thanks!
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Lefteous
Power Member
Power Member
Posts: 9450
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2005-09-11, 17:46 UTC

2Flint
took the terms from the source code of the program "junction.exe" (and also from its name Smile ) by Mark Russinovich who is a very qualified specialist in Windows. I think, he use the correct terminology.
Here is another trusted source.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/hard_links_and_junctions.asp
A junction (also called a soft link) differs from a hard link in that the storage objects it references are separate directories, and a junction can link directories located on different local volumes on the same computer. Otherwise, junctions operate identically to hard links. Soft links are implemented through reparse points.
So it means a junction point is a kind of reparse point. It doesn't sound logical to me that a junction should be a junction type.
Hm... Maybe, I will add this as an additional field type, because when I use the plugin by myself, the empty fields near the usual folders help me very much to quickly distinguish them from the reparse points.
Yes that's true in general but it doesn't help if I want to select based on a user-defined selection.
A very good idea! I'll surely add this in the next version, thanks!
Thanks in advance.
Last edited by Lefteous on 2005-09-11, 18:57 UTC, edited 1 time in total.

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-09-11, 18:40 UTC

Lefteous
So it means a junction point is a kind of reparse point. It doesn't sound logical to me that a junction is a type of a junction.
Ah, I didn't understand what you meant in the previous message. I thought you were speaking about the "Junction" that is present in the list of possible types (along with "Mount Point", "Symbolic Link" and so on). But you speak about the "Junction Type" field name, don't you? In this case you are right. Thank you for pointing to that, I'll correct it.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2005-09-11, 18:41 UTC

Lefteous wrote:
So it means a junction point is a kind of reparse point. It doesn't sound logical to me that a junction should be a junction type.
Thanks in advance.
Are you thanking yourself? :lol:
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
Lefteous
Power Member
Power Member
Posts: 9450
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous » 2005-09-11, 18:58 UTC

2Flint
Ah, I didn't understand what you meant in the previous message. I thought you were speaking about the "Junction" that is present in the list of possible types (along with "Mount Point", "Symbolic Link" and so on). But you speak about the "Junction Type" field name, don't you? In this case you are right. Thank you for pointing to that, I'll correct it.
Exactly. Nothing to add. Thanks you! :D

Post Reply