It is currently May 7th, 2024, 8:07 am

Closing a folder

Get help with creating, editing & fixing problems with skins
davidross
Posts: 17
Joined: July 16th, 2010, 2:04 pm

Closing a folder

Post by davidross »

I know I can launch a folder with !execute. Is it also possible to close a folder?
User avatar
JoBu
Posts: 271
Joined: February 16th, 2011, 12:46 am
Location: California

Re: Closing a folder

Post by JoBu »

I believe you can with AutoIt commands, but I'd have to check into it.
User avatar
Brian
Developer
Posts: 2689
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: Closing a folder

Post by Brian »

With older versions of Windows, you could use the command taskkill /fi "WINDOWTITLE eq SomeTitle" /im explorer.exe, where "SomeTitle" is the title of the window you want to close. But, this has changed over time, and only works when certain "conditions" apply, which I won't get into.

Your best solution is NirCmd.

-Brian