Skip to content

Instantly share code, notes, and snippets.

@skacurt
Last active September 7, 2023 15:58
Show Gist options
  • Save skacurt/ee144bf5a313d5e9c45a809778a76f5a to your computer and use it in GitHub Desktop.
Save skacurt/ee144bf5a313d5e9c45a809778a76f5a to your computer and use it in GitHub Desktop.
swhere.bat
::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