Fla$her wrote: 2022-10-09, 11:48 UTC
Fla$her wrote: 2022-10-08, 00:59 UTCHere we need a loop with the utility ln.exe. I can help with that later.
Actually, it's simple.
Take ln.
%COMMANDER_PATH%\Filelists\SymlinksToFolders.txt (UTF-8 no BOM) with full paths (real path
|link path):
D:\marvel\mcu\infinity saga\phase 1\1-iron man|D:\marvel\films\iron man
D:\marvel\mcu\infinity saga\phase 1\4-iron man 2|D:\marvel\films\iron man 2
D:\marvel\mcu\infinity saga\phase 1\3-thor|D:\marvel\films\thor
D:\marvel\mcu\infinity saga\phase 3\2-wanda vision|D:\marvel\tv\wanda vision
Command: %ComSpec% /q/c >nul chcp 65001|for /f "usebackq tokens=1,2 delims=|" %d in ("%COMMANDER_PATH%\Filelists\SymlinksToFolders.txt") do "%COMMANDER_PATH%\Utils\ln\ln64.exe" --symbolic "%%d" "%%e"
P. S.:
In fact, this task is done outside TC and in other forums.
Hi Fla$her,
Sorry, this post was on page 2 and I didn't notice there was a page 2 until after posting my other messages today.
I took a look at ln and that does look like it will do what I want with the --copy option. But I'm not sure what to do with what you sent.
Am I supposed to manually define the paths in the SymlinksToFolders.txt file?
What am I supposed to do with the command code you provided?
Is this for creating the links of for copying them?
I already have TC setup to create links using commands I added to the TC menu. I got that from the Extended English Menus for Total Commander 10.50 32bit and 64bit under Windows 7 64bit (by petermad) plugin -- tc1050_win7x86_amd64_eng.zip. That's actually how I created the links in my example.
But thanks for pointing me to ln, I will play with that.
rahreg