Jump to content


Member Since 21 Feb 2007
Offline Last Active Private

Posts I've Made

In Topic: Checking for a file on C: drive

26 February 2007 - 05:09 PM

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.

In Topic: Checking for a file on C: drive

22 February 2007 - 07:20 PM

Thanks Steve

I have used SYSf before to check for files on windows and Unix. The problem is I am on Unix and I want to check if a .exe exists on C:.

I tried doing a system command with a pipe to a text file but windows pops up a window and then removes it. This doesn't lookt that good so I was looking for something cleaner.