Hello,
I am trying to design a program that will check to see if a program is running and how many times it is running and completely kill it until it is gone. I then want the program to run a defrag and open one of the programs back up passing their user name and password as a variable through the script so that it will be completely logged back on as it was before. I started out programming this as a batch file but I could not get the checking part of it to work, so now I am to programming in vbs but having difficulty there too, does anyone possibly have any ideas or sample scripts that I might be able to look at and see what I am doing wrong?
Thanks,
Andrew Munn
I am trying to design a program that will check to see if a program is running and how many times it is running and completely kill it until it is gone. I then want the program to run a defrag and open one of the programs back up passing their user name and password as a variable through the script so that it will be completely logged back on as it was before. I started out programming this as a batch file but I could not get the checking part of it to work, so now I am to programming in vbs but having difficulty there too, does anyone possibly have any ideas or sample scripts that I might be able to look at and see what I am doing wrong?
Thanks,
Andrew Munn