Thanks George.
I did redirect the output but Windows still pops up a window for a split second.
I have managed to solve the problem by writing a small VB program to do the checking. I pass the full path + filename to the VB program and it sends back a return code. The problem with using a VB program is you need to make sure the VB program exists on each client machine. To get around this I have transferred the .exe to the server and I do a CLIENT.Send of the file to the PC before I do the system command to call the .exe. The .exe file is tiny so when I do the transfer it takes no time to do it and I know the .exe will always exist on the client pc. I have run it and it works a treat.
Thanks for your help.
Dec
Member Since 21 Feb 2007Offline Last Active Private