SyMenu Forum

SyMenu

 

HomeGeneral discussion & questions

Talk about SyMenu or post suggestions, requests, or how-to questions

.CMD script shortcuts & properties Messages in this topic - RSS

JPB46
JPB46
Posts: 2


26/07/2021
JPB46
JPB46
Posts: 2
I have created several shortcuts to .CMD scripts that I have written. I have modified the properties of these shortcuts with different foreground and background colors, font sizes, and/or window sizes etc. I can not get SyMenu to launch these shortcuts honoring the properties that I have set. They all launch using the properties of CMD.exe itself, I believe. (Please see attached screenshot).
I like the utility overall and have started using it in light of the taskbar changes in Windows 11 (NO toolbar options).

edited by JPB46 on 26/07/2021

Attachments:
Screenshot_1.png
link
Gianluca
Gianluca
Administrator
Posts: 1274


26/07/2021
Gianluca
Gianluca
Administrator
Posts: 1274
Hi JPB46,
Welcome to the community.
It's the first time I see such as sort of customization.
The Windows cmd.exe doesn't support this kind of customization, as well as the single .cmd files, but the shortcuts to cmd files do.

It's a really strange behaviour in a Windows environment where the shorcuts to any other kind of files doesn't allow any customization unless the shortcut icon and other compatibility parameters... I never stop learning smile
The problem here is that SyMenu resolves every shortcut you give to it because it needs to verify it the target exists, this way all the shortcut customization is cut out

I can suggest a workaround and I hope it can work for you.
Since the shortcut resolution takes place when you add a new item, you can go to the configuration form and replace the resolved path with the shortcut path.

To be clear:
- you add the shortcut C:\TestPing.lnk and SyMenu resolves it C:\TestPing.cmd
- go to the configuration form and replace the path back from C:\TestPing.cmd to C:\TestPing.lnk

Problem solved.

edited by Gianluca on 26/07/2021
link
JPB46
JPB46
Posts: 2


26/07/2021
JPB46
JPB46
Posts: 2
Solution works great, Thanks for your prompt reply.
link



UGMFree © 2002-2024
PayPal BTC TON