Soft links are ok, what about hard links?

English support forum

Moderators: Hacker, petermad, Stefan2, white

zappis
Junior Member
Junior Member
Posts: 3
Joined: 2004-05-03, 16:57 UTC

Soft links are ok, what about hard links?

Post by *zappis »

NTFS supports hard links. Does TC support making hard links? If not, I ask for this to be implemented in the next version.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No it doesn't, but it handles them correctly, e.g. when you delete a hard link to a folder, TC will not delete the whole folder contents.

I find it too risky for normal users to use hard links, that's why I'm not adding an internal function to create them. There are enough free tools out there to create hard links.
Author of Total Commander
https://www.ghisler.com
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Post by *IGL »

I wish it could be done with TC after enabling an option "allow to crate NTFS hard lings (CAUTION!)" or something like that. This option can be disabled by default.
:-)
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

IGL wrote:I wish it could be done with TC after enabling an option "allow to crate NTFS hard lings (CAUTION!)" or something like that. This option can be disabled by default.
Download this program. Make a new button and fill in as Paramter '%O.lnk %N'. Then you can create Hardlinks from within TC.

sheepdog

(I didn't check, if this prog really creates hardlinks for I do not know the difference between hard and softlinks. But I assume it does.)
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 04-05-2004 11:14:47 +0000 ghisler(Author) wrote:

g> I find it too risky for normal users to use hard links,
g> that's why I'm not adding an internal function to create
g> them.


OMG... Christian, isn't it too risky for Normal User to e.g. delete files (or even folders)?! What about moving? These are scaring to death things for that poor guy! DISABLE THEM TOO, PLEASE, I'M BEGGING YOU!!![/face]
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Post by *robinsiebler »

Now, now children, if you can't play nicely, I shan't let you play at all. :evil:
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

You don't need extra tools:
fsutil hardlink create <newfile> <existingfile>

Too dangerous to implement? That sounds ridiculous, what a bad excuse.

Is there any other file manager for professionals out there that isn't used by "normal" users? Are there any normal users using TC at all? I think most of them are masochists anyway, they would like to live with some kind of danger instead of having to live with lack of features due to "normal users".

Why do I use a professional file manager like TC when I have to install an extra tool for advanced(?) file operations anyway?

1. File cutting, not splitting
2. Creating new files without opening stupid notepad
3. Creating hard links
4. Creating junctions
5. Setting sparse attribute and others unknown to TC
6. Synchronizing folders (deleting empty folders)
7. Resuming local copy operations
8. Extra search tool for finding files by creation date, that's UNBELIEVABLE!
9. ...

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

Post by *Lefteous »

2icfu
You don't need extra tools:
fsutil hardlink create <newfile> <existingfile>
It's a windows commandline tool, which is an extra program from my point of view. Nevertheless it has the disadvantage that it only works for Administrator group members only, which is not necessary to create a hard link.

The program mentioned by Sheepdog works without this restriction. It's simply using the CreateHardLink API function.
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Users without administrative rights shouldn't be able to create hard links imho. Maybe that's the point for the excuse to not implement it, no idea.

Icfu
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's not too dangerous to implement - it's just not the right thing in the hands of normal users. Why do you think that Microsoft has removed it from Windows 2000? To my knowledge, it was there in some early beta versions (I may be wrong, though).
Author of Total Commander
https://www.ghisler.com
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Why can't you make an option to disable it by default and activate it through wincmd.ini? I really don't get it, sorry.

I thought that people using TC do that because they want some improvement to Windows Explorer, maybe I am completely wrong and people are using TC because they like the fancy GUI and are too stupid to ask what making hard links means before they activate such an option?

fsutil is available under XP, so even if Microsoft removed the possibility in Windows 2000 there must have been some reason to reimplement it.

Icfu
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 06-05-2004 22:17:02 +0000 ghisler(Author) wrote:

g> It's not too dangerous to implement - it's just not the
g> right thing in the hands of normal users.


OMG... What about cm_AdministerServer, is it the right thing in the hands of normal users? Christian, you can hide all additional NTFS function you may implement as well as you did with already implemented ones. Who knows about e.g. cm_EditOwnerInfo or cm_EditAuditInfo?

g> Why do you think that Microsoft has removed it from Windows
g> 2000? To my knowledge, it was there in some early beta
g> versions (I may be wrong, though).


Who cares about what M$ removed - why do you think that Microsoft has made such a horror as Explorer at all?! %) The only thing I care is why you doesn't add all the nice things NTFS can support? As hidden internal commands, of course.[/face]
Genghis86
Junior Member
Junior Member
Posts: 87
Joined: 2003-12-07, 02:02 UTC
Location: United States

Post by *Genghis86 »

i vouch for implementation of creation of hard links
Total Commander has always been a tool for the professional in my opinion
IGL
Member
Member
Posts: 179
Joined: 2004-02-26, 10:47 UTC
Location: Poland

Post by *IGL »

Please, do not let TC be a program for dummies (Ms Explorer is for them).
An option being off by default and a (WARNING!) word next to an option is enough protection.
:-)
krassonkel
Junior Member
Junior Member
Posts: 4
Joined: 2006-10-10, 15:02 UTC

Post by *krassonkel »

And here is another vote for this function =)
Really, TC isn't for "normal users"... And if you really think it's too "dangerous" then make it disabled by default...
You also could also just add an ini-line to activate it so no normal user will find it at any time...
Post Reply