MSFN Forum: Batch File To Close A Program? - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Batch File To Close A Program? Rate Topic: -----

#1 User is offline   gui_m 

  • Member
  • PipPip
  • Group: Members
  • Posts: 211
  • Joined: 21-August 03

Posted 04 March 2005 - 01:11 AM

I looked a bit in the internet but couldn't find out how to make a program close through a batch file. simple question i know.... thanks :)


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 04 March 2005 - 01:59 AM

taskkill /IM /f processname.exe (comes with windows)

or u can download pskill from sysinternals

#3 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 04 March 2005 - 02:13 AM

note: taskkill.exe is only present in XP Pro and Svr2k3.

If you have XP home or win2k, you need pskill.

If you use win9x series, then you need the resource kit (to do something like taskkill).

#4 User is offline   oftentired 

  • Member
  • PipPip
  • Group: Members
  • Posts: 145
  • Joined: 25-August 04

Posted 04 March 2005 - 10:02 AM

PV.EXE that is installed with PrcView is a command line task killer that works nicely in batch files. The file PV.TXT gives all the details on usage.

#5 User is offline   gui_m 

  • Member
  • PipPip
  • Group: Members
  • Posts: 211
  • Joined: 21-August 03

Posted 04 March 2005 - 10:46 AM

thx, prcview is exactly what i needed

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy