Get selected file/folder in the explorer view
See original GitHub issueIt would be nice if it was possible to retrieve the selected file/folder in the explorer view. The use case where I want to use it for is my vscode-yo
extension to be able to run the generator in the selected directory. An API for this would be nice.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:100
- Comments:35 (9 by maintainers)
Top Results From Across the Web
How to find the selected file or folder in Windows Explorer ...
How to find the selected file or folder in Windows Explorer using C++ - Microsoft Q&A.
Read more >How To Display Full File Path In File Explorer [Tutorial]
This tutorial will show you how to display the full path of the current open folder in the title bar of File Explorer...
Read more >How to get files selected in Explorer - Stack Overflow
the way the application is launched is from windows explorer. The user selects a file (or files) and right-clicks on selected file(s) and...
Read more >How to get selected file(s)/folder(s) from Windows Explorer?
Get a list of files/folders that the user has currently selected in that window. Could someone point me in the right direction please?...
Read more >Working with the File Explorer in Windows 10 - Georgetown UIS
Tasks available to you might differ depending on what folder you select (e.g., Documents vs Pictures). To display the Ribbon, click on one...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see that support for multi-file select is there in explorer view. In my extension i want to get the paths of all selected files. Right now, even if I select 5 files, i only get path for 1. I am not finding any relevant API. Do we have the API available for the same?
Just to add my own use case here–I’m looking to enable users to select multiple files within the explorer, which my extension can then act on. As of right now, this doesn’t appear to be possible without replicating the entire workspace folder structure in a custom TreeView (not even 100% sure it’s possible then). I’d much prefer to just be able to retrieve the current list of selected files/folders on the OOTB explorer view.