Can I select a file this way?

Page 1 of 2 12 LastLast

  1. Posts : 478
    Windows 10
       #1

    Can I select a file this way?


    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 quickly selected (highlighted) in File Explorer please?

    Terry, East Grinstead, UK
      My Computer


  2. Posts : 30,189
    Windows 11 Pro x64 Version 23H2
       #2

    Hi Terrypin.

    Open File manager and past in bar at top of window, not search bar, the one just left.

    Ken
      My Computer


  3. Posts : 478
    Windows 10
    Thread Starter
       #3

    Caledon Ken said:
    Hi Terrypin.

    Open File manager and past in bar at top of window, not search bar, the one just left.

    Ken
    That would open it, not select it.
      My Computer


  4. Posts : 30,189
    Windows 11 Pro x64 Version 23H2
       #4

    My error. Should have read requirement closer. Sorry.
      My Computer


  5. Posts : 30,189
    Windows 11 Pro x64 Version 23H2
       #5

    In Run box
    explorer.exe /select,c:\users\documents\test.txt

    So you would open run box, type explorer.exe /select,Crtl-V(paste)
      My Computer


  6. Posts : 4,224
    Windows 10
       #6

    Nice find, CK! A handy way to open explorer with the target file selected. Just did that right now for bootmgr (because it's at the root of the C: drive and easy to specify):
    Can I select a file this way?-explorer-select.jpg
    Thanks for sharing this. Very helpful.
    --Ed--
      My Computers


  7. Posts : 30,189
    Windows 11 Pro x64 Version 23H2
       #7

    Thanks. Wish I had read OP's original posting a little more carefully.
      My Computer


  8. Posts : 478
    Windows 10
    Thread Starter
       #8

    Caledon Ken said:
    In Run box
    explorer.exe /select,c:\users\documents\test.txt

    So you would open run box, type explorer.exe /select,Crtl-V(paste)
    Many thanks Ken. In fact I had the same reply in the batch files newsgroup to which I posted the almost identical question:

    Grant Taylor [removed] wrote:

    >On 12/07/2017 07:26 AM, Terry Pinnell wrote:
    >> If I have a file's full path and name on the clipboard, can I use a
    >> batch file (or the Run box, or any other clever way) to get it selected
    >> (highlighted) in its Win 10 File Explorer folder please?
    >
    >I have no idea if it's still the case, but explorer.exe used to have
    >have a /select option that would open explorer and select the specified
    >file.
    >
    >So, you could open the run dialog, type explorer /select,<Paste> and
    >possibly achieve what you want.

    For background, the filename itelf is in a hyperlink in Excel. I'm currently seeking help in the Excel forum on doing the whole task (from getting the link onto the clipboard, to selecting the file) in a VBA macro. I've forgotten what little VBA I ever knew a decade or so ago so this VBA approach is after my Macro Express script consistently failed at the hyperlink copying stage.

    I too echo Ed's enthusiasm for this handy Run tip!
    Last edited by Barman58; 08 Dec 2017 at 07:29. Reason: Remove email address
      My Computer


  9. Posts : 4,201
    Windows 10 Pro x64 Latest RP
       #9

    Also ...

    Winkey +R
    and then Ctrl-V then Enter will open the file with the name and path on the clipboard - all without touching the mouse

    This works because the file extension is associated with an Application, so should also work for excel sheet or file name
      My Computers


  10. Posts : 30,189
    Windows 11 Pro x64 Version 23H2
       #10

    Good luck. If I knew VBA I would try to assist. Take care.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:21.
Find Us




Windows 10 Forums