Not entirely sure what Smartbox have done; it would be worth sharing the command they have added. I’m guessing its some shell script similarly to what you have tried in the past.. You could solve this by editing the command that is being sent to cmd.exe e.g...
start "" "C:\Program Files\Tobii\Whatever\EnableWindowsControl.exe"
Should close the window after its run.
Alternatively you could try putting exit in the next line.. (which could work if the Windows Control app runs and then dies on success).
Hope that helps!
w
On 20/05/2015 13:15, "Thompson Dave (LINCOLNSHIRE COMMUNITY HEALTH SERVICES NHS TRUST)" <[log in to unmask]> wrote:
>Hi,
>
>In search of a wheel already in place ...
>
>does anyone have any experience with regards to the 'run' command in Grid2, in particular on a Windows8 machine?
>
>I've setup a button to exit Grid2 and run the Tobii computer control program in Windows7 before and this works fine but when I tried to use the the same 'run' command on a windows8 machine (making any necessary alterations to the directory path/names etc) it failed to work.
>
>I contacted Smartbox who "remoted in" and started to use the cmd.exe function and sort of got it to work but this left the cmd window open on the desktop which I'd like to 'clean up'
>
>I've though about using a batch file maybe but that's has far as I've got and wondered if anyone else had experienced this issue and already found a suitable solution?
>
>Thanks
>
>
>David Thompson
>
>Clinical Technologist,
>
>Lincolnshire Community Health Services NHS Trust
>
>Electronic Assistive Technology Service
>
>Lincolnshire Community Health Service
>
>Fen House
>
>Fen Lane
>
>North Hykeham
>
>Lincs LN6 8UZ
>
>T: 01522 781012
>
>F: 01522 538752
>
>M. 07798668876
>
>Secure email: [log in to unmask]
>
>Website: www.lincolnshirecommunityhealthservices.nhs.uk
>
>CONFIDENTIALITY STATEMENT
>
>
>
>P Save Paper - Do you really need to print this e-mail? CONFIDENTIALITY STATEMENT DISCLAIMER: This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Therefore if the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this E-Mail is strictly prohibited.. Any views or opinions expressed are those of the author and do not necessarily represent the views of Lincolnshire Community Health Services NHS Trust unless otherwise explicitly stated. The information contained in this e-mail may be subject to public disclosure under the Freedom of Information Act 2000. Unless the information is legally exempt from disclosure, the confidentiality of this e-mail and your reply cannot be guaranteed.
>
>********************************************************************************************************************
>
>This message may contain confidential information. If you are not the intended recipient please inform the
>sender that you have received the message in error before deleting it.
>Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
>to do so is strictly prohibited and may be unlawful.
>
>Thank you for your co-operation.
>
>NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
>NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
>NHSmail provides an email address for your career in the NHS and can be accessed anywhere
>
>********************************************************************************************************************
|