Hi guy's well i have a game server and some time on startup when i restart the server some process run when i dont want them i have tried to look in mscongfig and there not there so i want to make a app that will kill a couple prcess should be easy but can some one point me in the direction im verry new to c++ i know vb lo0l i already had made app like this in vb that made a batch file.Then executed.

Was a little bit like this in vb.

Code:

CODE
Private Sub Form_Load()
Me.Hide
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("c:\testfile.bat", True)
a.WriteLine ("TASKKILL /F /IM my.exe  ")
a.Close
End Sub


Then basicaly shell exe.But haw would i go about this in c++ as i want to learn c++,I would also like it to be added to the reg for startup.thnx

Reply