MSFN Forum: taskkill on simple windows - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

taskkill on simple windows I cant find the right way to close that Rate Topic: -----

#1 User is offline   coscongr 

  • Group: Members
  • Posts: 9
  • Joined: 20-January 05

Posted 15 April 2005 - 12:07 PM

Great forum guys!
This is my first post and it is about the way to close a window that opens exactly after the istallation of a speller+hyphenator!
I managed the installation switches but in the end a folder named NLT4OfficeXP is been created on the desktop and opens (as a simple window)!
I cant find the right way to close that window!

It seems easy but i have not the experience to use the taskill!
Suppose you had a FOLDER (any folder not the explorer) on the desktop, double click it and then... how you close it?
I am working on RunOnceEx and i used this:


REG ADD %KEY%\020 /VE /D "Greek Speller for Office 2003" /f
REG ADD %KEY%\020 /V 1 /D "%PP%greekspeller\NLT4OfficeXPW.exe /SP- /SILENT "f
REG ADD %KEY%\020 /V 2 /D "taskkill /IM NLT4OfficeXP" /f

Thanks in advance!


#2 User is offline   iwod 

  • Member
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 26-March 04

Posted 15 April 2005 - 08:59 PM

taskkill??

use pskill , put it in $OEM$/System32 folder and call it,

Do a search on pskill

#3 User is offline   coscongr 

  • Group: Members
  • Posts: 9
  • Joined: 20-January 05

Posted 16 April 2005 - 03:52 AM

I already knew about Pskill but...
when i use "pskill.exe -t NLT4Of~1.exe" /f or "pskill.exe -t NLT4OfficeXP.exe"
nothing happens

when i use "pskill.exe -t explorer.exe" /f
it works but the unattended installation process STOPS.

WHAT I NEED:
examples

or

the command line to pskill that folder which opens right after my programm installation (named:NLT4OfficeXp)

as i said i thing it is very simple but i can't figure it out.

#4 User is offline   rendrag 

  • grrrrrr
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 28-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 April 2005 - 08:18 PM

my only reservation using those proggies is that taskkill and pskill are to kill processes, and yes the window that pops up is a process, but it's an explorer.exe process (afaik). You kill that, and you would drop the start bar and everything, and then wait for it to reload. During the process of installing things, that might generate unforseen problems

#5 User is offline   iwod 

  • Member
  • PipPip
  • Group: Members
  • Posts: 265
  • Joined: 26-March 04

Posted 17 April 2005 - 02:10 PM

Why not just make a Autoit script to close it?

#6 User is offline   coscongr 

  • Group: Members
  • Posts: 9
  • Joined: 20-January 05

Posted 17 April 2005 - 05:20 PM

By the way, is there any other switch that I could use in order to avoid that pop up window of explorer.exe?

I mean beside the switches I’ve already used
/SP- /SILENT
anything more…?

Am I stuck here with that window?
You see I took a look of AutoIt and ooops!
what is all that?
I don’t have any experience of that, so I can not take an action!

#7 User is offline   coscongr 

  • Group: Members
  • Posts: 9
  • Joined: 20-January 05

Posted 14 June 2005 - 04:36 PM

A little late but i'm back

To whom ever concidered thanks to RoqueSpear i found the NirCmd

Did great job to me. :rolleyes:


For closing all your Explorer windows (My Computer, folders, and so on)
the command on Start/Run will be:
nircmd.exe win close class "CabinetWClass"

#8 User is offline   Marthax 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 572
  • Joined: 28-April 04

Posted 14 June 2005 - 05:17 PM

Quote

REG ADD %KEY%\020 /V 2 /D "taskkill /IM NLT4OfficeXP" /f


In all your other examples you use *.exe while you don't do it when typing the above command. I'm pretty sure that's the fault. I always use *.filetype when I use taskkill and I've never had any probs.

So it's supposed to be

REG ADD %KEY%\020 /V 2 /D "taskkill /IM NLT4OfficeXP.exe" /f


:)

Hope that helps!

Marthax

This post has been edited by Marthax: 14 June 2005 - 05:17 PM


#9 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 16 June 2005 - 01:07 PM

In AutoIt it would be

ProcessClose ( "NLT4OfficeXP.exe" )


#10 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,604
  • Joined: 14-November 03

Posted 16 June 2005 - 08:49 PM

Nologic, on Jun 17 2005, 05:07 AM, said:

In AutoIt it would be

ProcessClose ( "NLT4OfficeXP.exe" )

<{POST_SNAPBACK}>



Thanks Nologic youv'e just helped me out of a hole I was havin with damnfo. :thumbup.

#11 User is offline   Nologic 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 461
  • Joined: 07-October 03

Posted 16 June 2005 - 09:10 PM

Heh well good deal :)

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