MSFN Forum: How to kill a Window ? - MSFN Forum

Jump to content



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

How to kill a Window ? Rate Topic: -----

#1 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

  Posted 06 August 2004 - 12:38 AM

Hey,

I am trying to use in my unattended xp something like for example

killwindow.exe Total Commander


Does anyone know of a way? and no pskill.exe can't do this.


#2 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 06 August 2004 - 01:15 AM

You can use cmdow to close a window.

cmdow [window caption] /cls


If the window caption has spaces you need to enclose it in quotes.

#3 User is offline   jdoe 

  • Advanced Member
  • PipPipPip
  • Group: Banned
  • Posts: 314
  • Joined: 02-May 04

Posted 06 August 2004 - 01:16 AM

I don't know pskill but in Windows XP there is taskkill.exe

TASKKILL.EXE /IM NOTEPAD.EXE



Is it what you want?

#4 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 06 August 2004 - 01:27 AM

No, I want to close an explore window named "Total Commander" , it shows some shortcuts in this case.

#5 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 06 August 2004 - 01:34 AM

Taskkill or pskill won't work in this case. You would have to kill explorer which I don't think you want to do.

cmdow "Total Commander" /cls should work.

#6 User is offline   jdoe 

  • Advanced Member
  • PipPipPip
  • Group: Banned
  • Posts: 314
  • Joined: 02-May 04

Posted 06 August 2004 - 01:40 AM

Like jrzycrim say for an explorer window you need CMDOW. Free and good for that and many other things...




CMDOW

#7 User is offline   xtremexxx 

  • MSFN Addict
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 04-July 04

Posted 06 August 2004 - 01:48 AM

EXCELLENT!

Works flawlessly !

THANKZ :)

#8 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 06 August 2004 - 01:50 AM

No problem :)

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