How to Use a Win API at the Command Line to Get a Selected File in Windows Explorer

104 9
    • 1). Click the Windows "Start" button.

    • 2). Type the command below, without quotes, into the Search input box. For users of previous versions of Windows, click "Run" and type the command in the "Open" input box. Change "c:\Test.txt" to the path and file name of the file to select in Windows Explorer.

      "explorer.exe /select,c:\Test.txt"

    • 3). Click the "Search" button or press the "Enter" key to execute the command. The Windows Explorer interface will launch and the specified file will be highlighted in the right navigation pane.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.