Answer the question
In order to leave comments, you need to log in
Search from browser in windows explorer?
That is, conditionally selected the text in the browser, opened the context menu and selected the item "search in Windows Explorer"? Has anyone seen any extensions? Or knows other ways?
Answer the question
In order to leave comments, you need to log in
Most likely, there are no ready-made solutions. But the task is trivial.
You just need to write a simple web server that will be run locally, and, receiving an ordinary HTTP request from the extension, perform a search in the file system and return the response to the extension.
Well, do not forget to add the secret key as an additional parameter when sending a request, because in fact you can make a request to the localhost from any site, i.e. restrict access to the web server, allowing it only to this extension, which also needs to be written.
---
Fixed and browser-friendly QWERTYUIOPas answer:
function searchInFileExplorer(search, location) {
window.open(`search-ms:displayname=${search}&crumb=System.Generic.String:${search}&crumb=location:${location}`);
}
searchInFileExplorer("Search Text", "C:\\Users\\");
"C:%HOMEPATH%\\Downloads"
("\\" because escaping)
Go to URL:
search-ms:displayname=Title&crumb=System.Generic.String%3SHTO_ISKAT&crumb=location:C%3A%5C
explorer "search-ms:displayname=Title&crumb=System.Generic.String%3SHTO_ISKAT&crumb=location:C%3A%5C"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question