Hello. I have a problem and since i haven't used VB for a while i can't think of a way to do it.
I have a file in c:\temp which is called test.exe and is a command line program that is run like that:
test.exe -ip 10.0.0.0 -who - me
and shows some output info about that ip, etc..
BUT i have to do test.exe -ip 10.0.0.0 -who - me >temp.txt in order to save the output in a temp.txt file (that is what i want and not an visual output)
what i want to do is to make a VB (exe) file which will run every 10 minutes (i have managed to do that) and will execute the above thing (the one with the >temp.txt) and save the output of the test.exe in a file..
I am using VB6 and i can't think of how..
thanks in advance