SyMenu Forum

SyMenu

 

HomeTroubleshooting & Bug Reports

If you found a bug post here your report.

The Process object must have the UseShellExecute.. Messages in this topic - RSS

Glenn
Glenn
Posts: 99


25/12/2017
Glenn
Glenn
Posts: 99
The following dialog now appears when I attempt to use some commands that I set up a long time ago and which worked then, but haven't used for a while. My SyMenu was not the latest, so I upgraded, and it still occcurs.

SyMenu - Error in command.
---------------------------
The Process object must have the UseShellExecute property set to false in order to use environment variables.

The message text seems to be from .Net, but I don't see that I have control via SyMenu to change the property referenced, nor do I know exactly what it means or does, not being a .Net user. Maybe I do have control. The command of interesting is a direct invocation of a .bat file. And it certainly wants to use Environment variables. Other similar batch file commands are also failing in the same way.

I did a forum search for the message text with no results, but haven't been keeping up with reading the forums like I have in the past... because I haven't had problems with SyMenu until now: it's been working great, except these 4 batch file commands, which I haven't used for a while.

Do I just need to change them to invoke CMD with the .bat as a parameter? I see I have some invoked that way, that seem to work fine.
link



UGMFree © 2002-2025
PayPal BTC TON