Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Seyran_72 »

I really need the function of copying a shortcut (link) to several folders at once.
When copying files, there is an option to select "copy to all selected directories". When creating a link (shortcut) to a file, there is NO such possibility. You either have to create a real shortcut first, select the copy function and select the checkbox Copy to selected folders. And then delete the created shortcut.
Why not activate the dimmed item "Copy to all selected folders" when creating a shortcut to a file?!
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: I really need the function of copying a shortcut (link) to several folders at once

Post by *MaxX »

Command chains may help.
Ukrainian Total Commander Translator. Feedback and discuss.
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Re: I really need the function of copying a shortcut (link) to several folders at once

Post by *Seyran_72 »

Command chains? How is that? What exactly needs to be done?
User avatar
MaxX
Power Member
Power Member
Posts: 1175
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: I really need the function of copying a shortcut (link) to several folders at once

Post by *MaxX »

Internal commands cm_*** separated with comma.
Just the same way like this one: https://ghisler.ch/board/viewtopic.php?t=48966
Ukrainian Total Commander Translator. Feedback and discuss.
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: I really need the function of copying a shortcut (link) to several folders at once

Post by *Fla$her »

No chains will help here. Here we need an internal option with support for the /A parameter to CM_CREATESHORTCUT, similar to CM_COPY and CM_RENMOV.
Or a script.
Overquoting is evil! 👎
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Re: I really need the function of copying a shortcut (link) to several folders at once

Post by *Seyran_72 »

MaxX wrote: 2023-06-12, 10:42 UTC Internal commands cm_*** separated with comma.
Just the same way like this one: https://ghisler.ch/board/viewtopic.php?t=48966
Thanks, but I'm afraid for me the option with conjuring over commands is a much more difficult option than Gisler ACTIVATE THE EXISTING visually function (but it works only when copying files to several folders at once, but not active when creating and sending a link to a file to several selected folders at once)
:))
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *ghisler(Author) »

Just create the shortcuts in a local directory, and then copy them to the selected folders in the other panel.
Author of Total Commander
https://www.ghisler.com
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Seyran_72 »

ghisler(Author) wrote: 2023-06-13, 22:41 UTC Just create the shortcuts in a local directory, and then copy them to the selected folders in the other panel.
Giesler, unfortunately, that's the only way I have to do it.
But such copying adds three unnecessary operations: creating a shortcut in the source folder, editing the shortcut (removing the file extension from the shortcut name) and deleting the shortcut after copying to all selected folders.
Three extra operations operations - like a little. But if you have to do this every time for 100-500 files (as I have to do every day), then this is NOT at all joyful ))
So why not activate the "sleeping" (darkened) function for you, Giesler? If you did this to copy files, then why not activate this item for Shortcuts ?!
Thank you.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Stefan2 »

Seyran_72 wrote: 2023-06-17, 13:44 UTC But if you have to do this every time for 100-500 files (as I have to do every day), then this is NOT at all joyful
Why not creating a script if you have to do 100-500 actions every day?

Are the target folders always the same, or can they be detected easily?

We could say:
- for the selected file
- - - create a temporary shortcut file
- - - - - and copy that file to all selected folders
- - - delete the created file
- done





 
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Fla$her »

Stefan2 wrote: 2023-06-17, 14:02 UTC - - - create a temporary shortcut file
Why create a temporary shortcut if you can create it in different folders at once?
Fla$her wrote: 2023-06-12, 11:35 UTC No chains will help here.
Actually, I jumped to conclusions. There is such an option:

Code: Select all

TOTALCMD#BAR#DATA
cm_ClearAll,cm_CreateShortcut /GT=".",cm_SrcByDateTime 2,cm_Wait 300,cm_GoToFirstFile,cm_Copy /ABGO5,cm_Wait 200,cm_Delete .

wciconex.dll,65
Creating a shortcut for an object under the|cursor in folders selected in the target panel
It will be a little nicer with TCFS2:

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Utils\TCFS2\TCFS2.exe /ef "sendmsg(msg(1074,3),$0B,0) tcm(524) tem(`cm_CreateShortcut /GT="."`) delay(300)
tcd(<`%P%O.lnk\:`>,,S) delay(100) tem(`cm_Copy /ABGO5`) delay(200) tem(`cm_Delete .`) delay(300) tcd(<`%Q%V\:`>,,S) sendmsg(msg(1074,3),$0B,1)"
wciconex.dll,65
Creating a shortcut for an object under the|cursor in folders selected in the target panel
Overquoting is evil! 👎
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Seyran_72 »

Fla$her, Stefan2, thank you for the tips and help! But I don't think it's about "scripts" at all...
I am NOT a "programmer", I am a CONVENTIONAL, albeit an experienced user of Wincommander. I, as a user, am NOT at all obliged to understand scripts, half of the meanings of which I don’t even understand ...
Don't misunderstand me... The program is being created for those who cannot create such a program themselves. If I spend a year of time creating scripts, then... (Giesler forgive me) why would I need a Total Commander then?! ..
Here - on the forum, many have forgotten that ANY program should be "usable" from the very beginning! In addition to the mental capabilities of the user..
Sorry if I wrote harshly. But this is a fact. You can not create a program only for "super-advanced" users.
99% of users will NOT create scripts! This is NOT THEIR job! They relied (hope) on the program, and their own profession is in a completely DIFFERENT field ... Not in the field of scripting ...
Seyran_72
Junior Member
Junior Member
Posts: 29
Joined: 2023-06-11, 21:55 UTC

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Seyran_72 »

Stefan2 wrote: 2023-06-17, 14:02 UTC Are the target folders always the same, or can they be detected easily?
no, the number of folders is 2330 (this is for now only). And I can’t know which ones I’ll have to copy / move - it depends on the source file
Fla$her
Power Member
Power Member
Posts: 2998
Joined: 2020-01-18, 04:03 UTC

Re: Create Shortcut(s): why is checkbox "Copy to all selected folders" disabled?

Post by *Fla$her »

Seyran_72 wrote: 2023-06-19, 01:16 UTCBut I don't think it's about "scripts" at all...
It's not about scripts, it's about the long absence of the expected result that scripts or buttons (like the ones I gave) are able to compensate. If you don't have the skills to write such, ask those who do. What is the difficulty? You created the topic not in the suggestions section, but in the general subforum, however, this is not so important. And those who have acquired these skills with many years of experience (a year for this, to put it mildly, is too short a time, you can't write a lot from scratch during this time) are ready to help you with this. Scripts are not able to replace the file manager. It's absurd to abandon it just because you have skills in scripting. It's the interaction that gives the best result, and not vice versa. And for interaction, a certain adaptation is needed, in this case in the form of parameters, internal commands and returned data through interaction with the API.
The fact that the program should initially have everything at once is an illusion. This has never happened anywhere. Development is endless, and requests multiply tirelessly. The author, of course, in my opinion, sets priorities somewhat incorrectly, but nevertheless there are sensitive improvements, largely due to our requests.
Overquoting is evil! 👎
Post Reply