Advanced options do not restart the EXE automatically


this setting doesn’t work for me (v 2022.1). do I have to consider anything else?

Dim RetVal
RetVal = Shell(PathToFile(“MyApp.exe -enterkey”), 2)

regards Frank

If I understand, it does not work when you use the -enterkey parameter passed to the EXE file?

yes, with vba or cmd.

myapp.exe always starts a second time and the application is open in 2 instances

or what has this setting for advantages?

Not in particular if you use the command line parameter. It’s just to avoid the end user to start the EXE themselves again. But we’ll review if this is a bug or not. Thanks!

1 Like

ok thanks,

i thought there might be a command line parameter like myapp.exe -enterkey norestart or something.