Hi,
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.