Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3rd party program in batchfile

Status
Not open for further replies.
Aug 20, 2009
115
AU
When I am finished with internetting I want to close ALL programs associated with internetting. I can do that by batch file using ENDPROCESS for all except the firewall.
Since Sygate does not have an entry in WinMe's Task Manager,
I can not close it with ENDPROCESS.
Procrecon CAN close Sygate when
1. Procrecon is opened
2. smc.exe is selected from a list that Procrecon displays
and 3. the 'Terminate process' button is clicked.
I want to do all that by means of a batch file

To do its work by COMMAND-LINE, Procrecon provides these three options
ProcRecon /h < process_Window_Handle >
ProcRecon /f < file_name_of_process_to_be_terminated >
ProcRecon /t < window_caption_of_process >

I do not know how to implement them in a batchfile, can someone tell me please ?

Then I MAY need a line that 'clicks the TERMINATE PROCESS button'.
 
The batch file that succeeds is as follows :

cd "C:\Program Files\Procrecon"
ProcRecon /t "Sygate Personal Firewall
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top