Last active
September 7, 2023 15:58
-
-
Save skacurt/ee144bf5a313d5e9c45a809778a76f5a to your computer and use it in GitHub Desktop.
swhere.bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::opens folders containing executable files | |
::returned by the "where" command. | |
@echo off | |
if [%1] == [] goto quit | |
for /f "delims=" %%l in ('where %*') do ( | |
start explorer.exe /select,"%%l" | |
) | |
:quit | |
exit /b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment