Guest Thorsten Butz Posted April 28, 2008 Posted April 28, 2008 I wonder if and how I can distinguish a hardlink from a regular file without a dubfinder. Is there something like the inode-count on linux-ext3 on NT6? Regards Thorsten
Guest Herb Martin Posted April 28, 2008 Posted April 28, 2008 Re: How to recognize a hardlink "Thorsten Butz" <thbutz@community.nospam> wrote in message news:%23Pz%23MwUqIHA.4672@TK2MSFTNGP05.phx.gbl... >I wonder if and how I can distinguish a hardlink from a regular file > without a dubfinder. > > Is there something like the inode-count on linux-ext3 on NT6? You might need to ask on a (System) programming list. Clearly there is "something like" and there is a program HLCan.exe on the MS web site that claims to display the hardlinks (I didn't check it) so there is a way (if that works) but it doesn't offer source code. I would check the SysInternals site (now part of MS but still using a separate URL) since this is the type of utility they would typically offer AND they almost always provided source code. Let us know what you find please....
Guest George Yin Posted April 29, 2008 Posted April 29, 2008 RE: How to recognize a hardlink Hello, Many thanks to Herb for sharing the information. Yes, Hlcan.exe can be used to find out hard links on an NTFS volume, under Windows 2000, Windows XP and Windows Server 2003. The command-line tool can be used as: Hlscan /dir <path> Then the output will show all the hard links in the specified path. Sincerely, George Yin Microsoft Online Support Microsoft Global Technical Support Center Get Secure! - http://www.microsoft.com/security ===================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ===================================================== This posting is provided "AS IS" with no warranties, and confers no rights.
Guest Herb Martin Posted April 29, 2008 Posted April 29, 2008 Re: How to recognize a hardlink "George Yin(MSFT)" <v-chanyin@online.microsoft.com> wrote in message news:wCfPZueqIHA.1784@TK2MSFTNGHUB02.phx.gbl... > Hello, > > Many thanks to Herb for sharing the information. > > Yes, Hlcan.exe can be used to find out hard links on an NTFS volume, under > Windows 2000, Windows XP and Windows Server 2003. The command-line tool > can > be used as: > > Hlscan /dir <path> > > Then the output will show all the hard links in the specified path. But this doesn't really solve his problem or answer his question, as I mentioned when I offered this information. Likely he needs a programming group, but HLscan does prove his problem can be solved programmatically.
Guest Thorsten Butz Posted May 1, 2008 Posted May 1, 2008 Re: How to recognize a hardlink Thanks for the replies. HLCan.exe seems to work fine, but you have to add the "msvcp50.dll"-file manually. Thorsten 29.04.2008 20:21, Herb Martins Mail: > "George Yin(MSFT)" <v-chanyin@online.microsoft.com> wrote in message > news:wCfPZueqIHA.1784@TK2MSFTNGHUB02.phx.gbl... >> Hello, >> >> Many thanks to Herb for sharing the information. >> >> Yes, Hlcan.exe can be used to find out hard links on an NTFS volume, under >> Windows 2000, Windows XP and Windows Server 2003. The command-line tool >> can >> be used as: >> >> Hlscan /dir <path> >> >> Then the output will show all the hard links in the specified path. > > But this doesn't really solve his problem or answer his question, > as I mentioned when I offered this information. > > Likely he needs a programming group, but HLscan does prove > his problem can be solved programmatically. > >
Guest Herb Martin Posted May 1, 2008 Posted May 1, 2008 Re: How to recognize a hardlink "Thorsten Butz" <thbutz@community.nospam> wrote in message news:e9GWPj5qIHA.3804@TK2MSFTNGP02.phx.gbl... > Thanks for the replies. > > HLCan.exe seems to work fine, but you have to add the "msvcp50.dll"-file > manually. Does that solve you issue? I thought you needed to do this from your own code? > 29.04.2008 20:21, Herb Martins Mail: >> "George Yin(MSFT)" <v-chanyin@online.microsoft.com> wrote in message >> news:wCfPZueqIHA.1784@TK2MSFTNGHUB02.phx.gbl... >>> Hello, >>> >>> Many thanks to Herb for sharing the information. >>> >>> Yes, Hlcan.exe can be used to find out hard links on an NTFS volume, >>> under >>> Windows 2000, Windows XP and Windows Server 2003. The command-line tool >>> can >>> be used as: >>> >>> Hlscan /dir <path> >>> >>> Then the output will show all the hard links in the specified path. >> >> But this doesn't really solve his problem or answer his question, >> as I mentioned when I offered this information. >> >> Likely he needs a programming group, but HLscan does prove >> his problem can be solved programmatically. >> >>
Recommended Posts