I found this command line tool, works great.
Tiny EXE to open folder and select a file/folder in Windows Explorer.
Supported OS
Tiny overhead
- 3.0KB EXE for 32-bit Windows (i386)
- 4.5KB EXE for 64-bit Windows (AMD64)
- No additional DLL/redistribute/runtime needed
Easy to use
Open "C:\Windows" and select "System32" folder.
OpenFolderAndSelect.exe "C:\Windows\System32"
Open "C:\Windows\System32" and select "cmd.exe".
OpenFolderAndSelect.exe "C:\Windows\System32\cmd.exe"
Open "C:\Windows\System32" and select all items where name ended with ".exe".
OpenFolderAndSelect.exe "C:\Windows\System32\*.exe"
Open "C:" and select two folders ("Program Files" and "Windows").
OpenFolderAndSelect.exe C:\ "Program Files" Windows