Question
November 9, 2007 at 03:47 AM
e.v.o.5

VBS and Perl

by e.v.o.5 . Updated 18 years, 12 months ago

Hi All

We have a set of .bat files (4 in all) which each delete a file and then call a perl process/script (each 1 of the 4 is different). These processes open in a cmd window. Therefore each time we have to restart these processes, we need to ctrl – c the processes in the 4 cmd windows in order to kill them and then open each of the 4 bat files again to start the perl processes again. I am trying to condense this all down to a 1 file operation by using .vbs. I have some code which will delete the files as required and also it calls the pearl processes however I need help in writing the code which can kill the processes running in the cmd windows (i.e something which performs the ctrl c funtion).

I hope the above makes sense, I am a willing amateur where scripts are concerned.

Thanks in advance
Nick

This discussion is locked

All Comments