As per this thread, it seems that the solution doesn't work anymore for version 1909.
When I open a folder in File Explorer such as C:\
and run the cmd command tasklist /V /FI "IMAGENAME eq explorer.exe"
I get NA
under the window title column.
And if I try taskkill /FI "IMAGENAME eq explorer.exe" /FI "WINDOWTITLE eq C:\"
it doesn't kill File Explorer with C:\
folder open.
Is anyone else experiencing this issue also?
The related thread that no longer works for my build of windows:
How to close a particular opened folder using cmd or batch file?
Comments
Post a Comment