okay, i got it to work with /im (that's where it wants what i though process id wanted)...but it doesn't kill the program unless i use /f. So i tried using /f and then simply rerunning the first program on the line after running the second program and it seemed to work at first. But after doing it a couple times, it wouldn't even run the second program anymore. So, i think i just need to rewrite it. here's what i've been using:
TASKKILL /im 1stprogram.exe
cd d:\2ndprogramdirectory
2ndprogam.exe parameter
cd d:\1stprogramdirectory
1stprogram.exe
it's simple because i'm a newb
. If there's anything anybody thinks would help with it, please feel free to change it.
on a side note....just using the batch file seems to have helped a lot with how the second program gets called. Without using /f (even though the first program is still running) I've run into my problem a lot less, but it still occasionally happens. thanks for all the help so far, and for anymore to come.