Closed filippobottega closed 2 years ago
Solution: TrayToolbar run this command:
"cmd.exe" /c "MyPath\My link.lnk"
Probably the cmd.exe is hidden and has not any visible window.
To run a command from TrayToolbar you have to write a bat file, for example CommandPrompt.bat
, containing this command:
start "Command Prompt" "%windir%\system32\cmd.exe"
Using start it is possible to display a new window even if the first cmd.exe process is hidden.
Regards, Filippo.
I will pay attention.
Hello, I'm using Windows 11, if I try to run a bat file or a try to run a cmd prompt, the console window doesn't appear even if the process is running. I'm using Process Explorer to check what appens:
Regards, Filippo.