you can use the systemexec.vi to start / shutdown processes.
The syntax to kill a process is the following: TASKKILL /F /IM mspaint.exe /IM notepad.exe
Thanks. I have tried your command but it doesn't work like I want. It doesn' close paint application.
Here the vi I wrote.
Message Edited by ThSa on 04-24-2006 07:42 AM
I used your code but it didn't work as a closing of application:
1) In fact a little dark screen is blinking, with c\windows32\system\command.com noted. The process didn't close paint application
2) Is your code inlude opening of paint (or word) ? For this Do I have to use another system.exe vi with path to paint?
3) I use a windows xp pro computer. In the the context help, it says me that I have to use command.com, so I used it. Unless using it error message appeared "memory is full".
They say also that:
"To launch an executable with options using the syntax filename.exe -option1 -option2, create a filename.bat file that calls the executable with the options syntax and use this VI to call the filename.bat file. "
But I don't know How do and if it is needing as you succeed unless it.
Message Edited by ThSa on 04-24-2006 11:27 AM