Hi all,
I am working on a IWS7.1 project which is running on a Beckhoff CX5010 CPU with Windows CE embedded 6.0. On one of the IWS pages I need to implement a button which starts and focus a third party program (.exe) on Windows CE.
On the IWS page I included a button with a on-Down action of type VBScript and the following command:
$WinExec("\hard disk\ftp\Recipe\Recipe.exe")
The $WinExec command is working in Windows CE as long as the path to the program does not contain any spaces. In the example above a space is present in the "hard disk" part. Unfortunately I am forced to use this folder because the files in the main root folder "/" are non persistant. Also, am not able to change the name of the "hard disk" to for e.g. "harddisk".
In the full path the use of double quotes or escape chars are also not accepted by IWS.
Is there any other solution that I can use to startup a program located in the "/hard disk" through a button on a IWS page?
PS using the Beckhoff "startMan" application present on Windows CE I was able to create a keyboard shortcut "CTRL-R" which starts the Recipe.exe program. Any idea if there is a solution to send this key combination to the OS by an IWS button action?
If anything is unclear please let me know. Thanks in Advance.
- Peter