coscongr Posted April 15, 2005 Share Posted April 15, 2005 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" /fREG ADD %KEY%\020 /V 1 /D "%PP%greekspeller\NLT4OfficeXPW.exe /SP- /SILENT "fREG ADD %KEY%\020 /V 2 /D "taskkill /IM NLT4OfficeXP" /fThanks in advance! Link to comment Share on other sites More sharing options...
iwod Posted April 16, 2005 Share Posted April 16, 2005 taskkill??use pskill , put it in $OEM$/System32 folder and call it, Do a search on pskill Link to comment Share on other sites More sharing options...
coscongr Posted April 16, 2005 Author Share Posted April 16, 2005 I already knew about Pskill but...when i use "pskill.exe -t NLT4Of~1.exe" /f or "pskill.exe -t NLT4OfficeXP.exe"nothing happenswhen i use "pskill.exe -t explorer.exe" /fit works but the unattended installation process STOPS.WHAT I NEED:examplesorthe 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. Link to comment Share on other sites More sharing options...
rendrag Posted April 17, 2005 Share Posted April 17, 2005 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 Link to comment Share on other sites More sharing options...
iwod Posted April 17, 2005 Share Posted April 17, 2005 Why not just make a Autoit script to close it? Link to comment Share on other sites More sharing options...
coscongr Posted April 17, 2005 Author Share Posted April 17, 2005 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! Link to comment Share on other sites More sharing options...
coscongr Posted June 14, 2005 Author Share Posted June 14, 2005 A little late but i'm backTo whom ever concidered thanks to RoqueSpear i found the NirCmdDid great job to me. 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" Link to comment Share on other sites More sharing options...
Marthax Posted June 14, 2005 Share Posted June 14, 2005 (edited) REG ADD %KEY%\020 /V 2 /D "taskkill /IM NLT4OfficeXP" /fIn 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" /fHope that helps!Marthax Edited June 14, 2005 by Marthax Link to comment Share on other sites More sharing options...
Nologic Posted June 16, 2005 Share Posted June 16, 2005 In AutoIt it would beProcessClose ( "NLT4OfficeXP.exe" ) Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted June 17, 2005 Share Posted June 17, 2005 In AutoIt it would beProcessClose ( "NLT4OfficeXP.exe" )<{POST_SNAPBACK}>Thanks Nologic youv'e just helped me out of a hole I was havin with damnfo. . Link to comment Share on other sites More sharing options...
Nologic Posted June 17, 2005 Share Posted June 17, 2005 Heh well good deal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now