stickfun Posted December 23, 2004 Posted December 23, 2004 in my unattended installation, everything's fine except that two windows-explorer-type windows pop out. is there anyway i can close them with batch commands?thanks
stickfun Posted December 23, 2004 Author Posted December 23, 2004 not the command window. i meant the folder windows.
DLF Posted December 23, 2004 Posted December 23, 2004 When does this happen? During apps install? Please give a few more details. re: which apps they apply to etc.
stickfun Posted December 23, 2004 Author Posted December 23, 2004 basically, i'm using the batch method to unattendedly install my apps. during the installation, some of my programs automatically open several folder windows. i need to know if there's a command to close that.
Alanoll Posted December 23, 2004 Posted December 23, 2004 use taskkilltaskkill /F /FI"WINDOWTITLE eq SOMETITLE*"That will close all windows that begin with SOMETITLE. If you know the exact name, replace SOMETITLE* with the name, if not, just put the first few letters, then put the *, and it will kill all processes that begin with those letters.
stickfun Posted December 23, 2004 Author Posted December 23, 2004 it's not really a process. it's more like folder windows popping up. read my post above yours for a more detailed description.
DLF Posted December 23, 2004 Posted December 23, 2004 They pop up and remain up and you have to close them manually? Is that what you mean? Or do they just pop up and close themselves. If its the former then you have some wrong switches applied or as Alanoll said you are installing an app that needs to be "killed" via the taskkill cmd.Which apps are you having trouble with?Post your batch_file.cmd here for us to examine and tell us which apps please or we cant help.
totoymola Posted December 23, 2004 Posted December 23, 2004 I have this probelem too. When I install one of my programs silently, a windows pops up. It is the shortcut forlder of the software.
DLF Posted December 23, 2004 Posted December 23, 2004 Give us a clue then Totoymola. Which app? And what switches are you using? We aint psychic
stickfun Posted December 23, 2004 Author Posted December 23, 2004 it's not a specific program. many programs do this.after the installation, they open up the start menu folder containing its shortcuts. is there anyway of closing the folders that pop out?
DLF Posted December 23, 2004 Posted December 23, 2004 taskkill.exe /f /im explorer.exe I think this would stop a normal explorer window with program shortcuts in it popping up, added to your cmd on a line below your path_to_switch cmd. But if its a program-specific window thats popping up you'd have to do as Alanoll said and get the name and path of the file that's popping up.Please test.Example...ECHO.ECHO Installing Whatever AppECHO Please wait...start /wait %systemdrive%\Install\Applications\Whatever.exe /staskkill.exe /f /im explorer.exe
Alanoll Posted December 23, 2004 Posted December 23, 2004 taskkill.exe /f /im explorer.exe I think this would stop a normal explorer window with program shortcuts in it popping up, added to your cmd on a line below your path_to_switch cmd. But if its a program-specific window thats popping up you'd have to do as Alanoll said and get the name and path of the file that's popping up.Please test.Example...ECHO.ECHO Installing Whatever AppECHO Please wait...start /wait %systemdrive%\Install\Applications\Whatever.exe /staskkill.exe /f /im explorer.exei don't suggest that. That will also kill Windows as well, causing the entire shell to restart. Give it a try in the Task Manager, and kill explorer.exe.Since they open up start menu folder, write down their names, replace SOMETITLE in the line I gave above with the title. If there are more then one, use MORE THEN ONE taskkill statement with the other name.What's so complicated about that?
stickfun Posted December 23, 2004 Author Posted December 23, 2004 i don't suggest that. That will also kill Windows as well, causing the entire shell to restart. Give it a try in the Task Manager, and kill explorer.exe.Since they open up start menu folder, write down their names, replace SOMETITLE in the line I gave above with the title. If there are more then one, use MORE THEN ONE taskkill statement with the other name.What's so complicated about that?the explorer.exe trick worked but the taskkill didn't. i think it's because the folders aren't considered an independent process but more like a sub-process of Explorer.exe so when the shell got shut down, it will go along with it. thanks
Yzöwl Posted December 23, 2004 Posted December 23, 2004 CabinetWClass rang a bell so I did a search and found this utility, it can apparently be run from a batch too.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now