[HELP] A separate description is required for CM_CREATESHORTCUT
Moderators: Hacker, petermad, Stefan2, white
[HELP] A separate description is required for CM_CREATESHORTCUT
TOTALCMD.CHM > Dialog box: Choose command
At the moment, CM_CREATESHORTCUT doesn't support most of the parameters available for CM_COPY, CM_RENMOV.
It's necessary to issue a separate description below so that users do not get confused.
At the moment, CM_CREATESHORTCUT doesn't support most of the parameters available for CM_COPY, CM_RENMOV.
It's necessary to issue a separate description below so that users do not get confused.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
Sorry, too busy. I will just add a note saying
"CM_CREATESHORTCUT doesn't support all the parameters (see changed dialog box).".
"CM_CREATESHORTCUT doesn't support all the parameters (see changed dialog box).".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
At the moment, only 4 options work: G, O, T and W.
I suggest just marking them with asterisks:
I suggest just marking them with asterisks:
CM_COPY, CM_RENMOV, CM_CREATESHORTCUT *:
...
O0..9: Overwrite options, numbers as in the dialog box *
...
G: Go: Start copying immediately (not required when specifying T="path") *
T="path": Target path, MUST be put in double quotes, and end with a backslash if a directory *
W="wildcards": Copy only files of this type *
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
Thanks for checking, that saves me some time.At the moment, only 4 options work: G, O, T and W.
What do you mean with that? G tells TC to start immediately (skipping the dialog) whether T is set or not. If T isn't set, the path from the other panel will be used as the target.G: Go: Start copying immediately (not required when specifying T="path") *
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
This means that in the absence of G and the presence of T="path", the dialog will also not appear similarly with G without T="path".
Overquoting is evil! 👎
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
2Fla$her
I do not confirm (cm_CreateShortcut /T="C:\Test\*.lnk"). The window appears.
I do not confirm (cm_CreateShortcut /T="C:\Test\*.lnk"). The window appears.
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
2sa16
Check in the button.
Check in the button.
Overquoting is evil! 👎
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
2Fla$her
In it I checked.
In it I checked.
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
So. I found the cause. I didn't take into account that quotation marks are mandatory for T.
And if the letter g is located in the path without encasing it in quotation marks, then TC will search for the letter, ignoring non-letter characters like ":\".
So a shortcut will appear in another panel:
cm_CreateShortcut /T=C:\g
cm_CreateShortcut /T=C:\blagbla
And if the letter g is located in the path without encasing it in quotation marks, then TC will search for the letter, ignoring non-letter characters like ":\".
So a shortcut will appear in another panel:
cm_CreateShortcut /T=C:\g
cm_CreateShortcut /T=C:\blagbla
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
I will show an error when the user doesn't use a "=" followed by double quotes.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
You probably wanted to say that it does not use double quotes after "="?
And why is the presence of quotation marks so important? Why can't support be done without them?
And why is the presence of quotation marks so important? Why can't support be done without them?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
Because otherwise people will easily forget them when they are actually needed, e.g. when the path contains a comma.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
From the "Wrong parameters specified!" message, the user will not understand that the problem is precisely in the absence of quotation marks.
Better like this:CM_CREATESHORTCUT CM_CREATESHORTCUT supports the following parameters from CM_COPY and CM_RENMOV:
O, G, T and W.
CM_CREATESHORTCUT Supports the following parameters from CM_COPY and CM_RENMOV: O, G, T and W.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50406
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [HELP] A separate description is required for CM_CREATESHORTCUT
I added the Enter to keep the 4 together, they were broken to 2 lines. But I can leave out the second CM_CREATESHORTCUT.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com