View Single Post
  #6  
Old December 7th 17, 03:39 PM posted to alt.comp.os.windows-10
Terry Pinnell[_3_]
external usenet poster
 
Posts: 732
Default Can I select a file this way?

"Jonathan N. Little" wrote:

Terry Pinnell wrote:
If I have a file's full path and name on the clipboard, how can I use
the Run box (or any other way) to get it selected (highlighted) in File
Explorer please?

Terry, East Grinstead, UK


If you put it in the run box the Default action for the file will occur,
i.e., Open. I am assuming that is not what you want. What you should do
is Windows Search

WinKey (paste filespec) *Right-Click* Open file location


Thanks, that does the trick. In more detail:

WinKey Left click in Search box (unless there's a way to get text
cursor there automatically?) Ctrl+V Move mouse to top result (which
always seems in a fixed relative position) Right-click Explore

I'm trying to apply these steps in a macro script. Ideally I'd like to
do it all with keystrokes and avoid the mouse. But I reckon this will be
a good second best. Maybe a batch file could do it?

Terry, East Grinstead, UK
Ads