Sign in to follow this  
Followers 0
c0ncentration

close all Windows Explorer

7 posts in this topic

sorry if this has been asked, how do i make an .au3 script to close all Windows Explorer?

i use this:

Send("!F")

Send("C")

but it wont work, because of focus problem, then it stops.

thank you.

Share this post


Link to post
Share on other sites



sorry if this has been asked, how do i make an .au3 script to close all Windows Explorer?

i use this:

Send("!F")

Send("C")

but it wont work, because of focus problem, then it stops.

thank you.

Read the helpfile -> WinClose, WinKill and WinList etc.

Share this post


Link to post
Share on other sites

thanks.

WinClose ( "title" [, "text"] )

WinKill ( "title" [, "text"] )

winclose or winkill require the title of window, it is impossible to list all the folders name in my hdd.

Retrieves a list of windows.

WinList ( ["title" [, "text"]] )

and how do i use winlist to list the open window and then close them?

thanks again.

Share this post


Link to post
Share on other sites

thank you nfwu.

the code doesnt work, it runs non-stop and nothing gets closed.

Share this post


Link to post
Share on other sites

Use WinClose for explorer windows. WinKill has remarks in the helpfile for the exception of handling explorer windows.

:D

Share this post


Link to post
Share on other sites

beautiful, thank you very much MHz and nfwu, thank you, now one click i can close all windows explorer. :D

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0