How do I remove folder link without deleting contents?

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
MrMcGoo
Junior Member
Junior Member
Posts: 28
Joined: 2006-08-29, 01:44 UTC

How do I remove folder link without deleting contents?

Post by *MrMcGoo » 2019-10-07, 14:41 UTC

I selected a folder in TC and used C-S-F5 to create a link to it as a subfolder in another folder.

Now that other folder shows that folder in it as if it is in both the original place and also in the place I created the link.

How do I remove that link in the other folder so it undoes that operation?

I have to be very careful here. I don’t want to delete anything in the folder the link points to or its subfolders so I didn’t want to just delete the folder in the new location because I was afraid it would delete its contents.

Also, what I was hoping this operation would do is create a .lnk shortcut file to that folder so that when I click on that link it will open that folder *IN TC* instead of in Windows File Explorer. Unfortunately it didn’t. Is there any way to do that without editing the registry?

MrMcGoo
Junior Member
Junior Member
Posts: 28
Joined: 2006-08-29, 01:44 UTC

Re: How do I remove folder link without deleting contents?

Post by *MrMcGoo » 2019-10-07, 15:13 UTC

Okay I solved it. I opened up the folder containing the created folder link in Windows explorer and found that that link is actually just a shortcut. So I deleted the shortcut in Explorer and the folder link is gone.

I also noticed that I could right click on the folder link in TC and look at the properties to see it is a link and not an actual folder.

But it seems to me that TC should show an icon that identifies it as a link and not a folder like Explorer does. Otherwise I can't tell by looking at it that it isn't an actual folder.

I still do not know how to create a .lnk file to a folder that opens in TC without changing the registry. So if anyone knows how this can be done (or that it cannot be done), please let me know.

I'm using Windows 10 Pro x64

User avatar
Usher
Senior Member
Senior Member
Posts: 456
Joined: 2011-03-11, 10:11 UTC

Re: How do I remove folder link without deleting contents?

Post by *Usher » 2019-10-07, 16:15 UTC

There is NOTHING to do in Windows registry in this case. It seems you should work more carefully. TC clearly displays lnk extension when you press Ctrl+Shift+F5. And if you want to see overlay with a small arrow on the shortcut (lnk) icon, just properly set options for icons in TC configuration.
Regards from Poland
Andrzej P. Wozniak

User avatar
MVV
Power Member
Power Member
Posts: 8323
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: How do I remove folder link without deleting contents?

Post by *MVV » 2019-10-08, 11:50 UTC

I don't understand why you've got problem in LNK file detection because it looks like a file, not folder, and it has LNK extension and...

And, please don't call shortcuts (LNK files) as folder links, folder links are symbolic links or junctions, but not stupid shortcut files. Folder links show target location transparently when you enter them. These are clearly visible in TC too (special icon).

User avatar
petermad
Power Member
Power Member
Posts: 8488
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: How do I remove folder link without deleting contents?

Post by *petermad » 2019-10-08, 15:32 UTC

These are clearly visible in TC too (special icon).
And folder links are marked <LNK> in the Size column.
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b12 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Post Reply