I have a permission problem, but I can not understand.
I created a button in an application scriptcase with the following command:
shell_exec ('dir C:\\tmp> C:\\Tmp\\ Prova.log'); (just a test)
and when I run it I have as a result: nt authority\system
the same function written as a php file
<? php
shell_exec ('Dir C:\\tmp> C:\\Tmp\\Prova.log');
working properly
I guess it's a permissions problem, but on which directory or file on which I operate.

To tell the truth I wanted to create a php file that execute a system command dirttamente menu.
Is it possible to run a system command directly from the menu?