Website Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • August 30, 2015, 07:35:10 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: Close all opened explorer windows  (Read 2737 times)

Contro

  • Participant
  • Joined in 2007
  • *
  • gravatar avatar
  • Posts: 2,453
    • View Profile
    • Donate to Member
DONE: Close all opened explorer windows
« on: May 26, 2012, 05:39:22 PM »
Close all opened explorer windows

I would a script for closing all the explorer windows with ease

Windows xp pro sp3
Best Regards

 :-*

rgdot

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 1,794
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #1 on: May 26, 2012, 06:04:52 PM »
Have never tested it but

Close All Open Windows with a Single Click
http://www.ntwind.co...ities/close-all.html

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 6,186
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #2 on: May 26, 2012, 06:11:53 PM »
Code: [Select]
#NoTrayIcon
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
DetectHiddenWindows, On
GroupAdd,ExplorerGroup, ahk_class CabinetWClass
GroupAdd,ExplorerGroup, ahk_class ExploreWClass

while WinExist("ahk_group ExplorerGroup")
{
WinClose,ahk_group ExplorerGroup
}

Run it and Explorer windows are gone.

Contro

  • Participant
  • Joined in 2007
  • *
  • gravatar avatar
  • Posts: 2,453
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #3 on: May 26, 2012, 06:25:38 PM »
 :-*
Going running
Best Regards

Contro

  • Participant
  • Joined in 2007
  • *
  • gravatar avatar
  • Posts: 2,453
    • View Profile
    • Donate to Member
Re: DONE: Close all opened explorer windows
« Reply #4 on: May 26, 2012, 06:28:27 PM »
It WORKSSSSSSS
IT WORKSSSSSSS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
 :P+

Thank a lot.
http://img101.imageshack.us/img101/7251/besotene2.gif
DONE: Close all opened explorer windows
http://img101.imageshack.us/img101/7251/besotene2.gif
DONE: Close all opened explorer windows