Code: Select all
cm_CreateShortcut /T="c:\test\"
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
cm_CreateShortcut /T="c:\test\"
Confirmed.it works correctly from the command line; from the button, start menu - not.
Code: Select all
[em_CreateShortcut1]
cmd=cm_CreateShortcut /T="c:\test2\yy\"
Code: Select all
[em_CreateShortcut2]
cmd=cm_CreateShortcut
param=/T="c:\test2\yy\"
This just puts c:\test\ in the name field. When you use cm_CreateShortcut without parameters, you getcm_CreateShortcut /T="c:\test\"
instead, it will work fine.cm_CreateShortcut /T="c:\test\*.*.lnk"
No it doesn't, the param field is ignored.Whereas this does:
Yes, of course, I just´thappened to have c:\test2\yy\ opened in the other panel when I tested, that's why it seemed to work.ghisler(Author) wrote: 2023-05-22, 10:11 UTCNo it doesn't, the param field is ignored.Whereas this does:
Maybe more understandable, Target path and/or file mask?Help wrote:T="path": Target path, MUST be put in double quotes, and end with a backslash if a directory
Perhaps this should be done only in the case when the mask is not indicated at all.I will detect when there is no .lnk and append it myself.
How? Is there any use case where a link should have a different extension than .lnk?Perhaps this should be done only in the case when the mask is not indicated at all.
It will take it into account.And add taking into account AppendLnk.
I don't know. But this option (to change the extension) is available in the command without parameters (Ctrl + Shift + F5). In my opinion, you should not lose this opportunity in a command with parameters.ghisler(Author) wrote: Is there any use case where a link should have a different extension than .lnk?
Fixed in 11b4.ghisler(Author) wrote: 2023-05-22, 10:11 UTC I will detect when there is no .lnk and append it myself.