Programmatically select multiple files in windows explorer
问题 I can display and select a single file in windows explorer like this: explorer.exe /select, \"c:\\path\\to\\file.txt\" However, I can\'t work out how to select more than one file. None of the permutations of select I\'ve tried work. Note: I looked at these pages for docs, neither helped. https://support.microsoft.com/kb/314853 http://www.infocellar.com/Win98/explorer-switches.htm 回答1: This should be possible with the shell function SHOpenFolderAndSelectItems EDIT Here is some sample code