Show file in folder

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: JRL, Dorian (MJT support), Phil Pendlebury

Post Reply
User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1415
Joined: Sun Nov 03, 2002 3:19 am

Show file in folder

Post by Dorian (MJT support) » Fri Jan 13, 2017 9:23 pm

Here's another little snippet I use regularly.

Sometimes, when I've created a new file, I want to view it in the folder.

Simply using RunProgram to run Explorer and using /select does this perfectly.

RunProgram>Explorer /select,%FileName%
  View Snippet Page

E.G
RunProgram>Explorer /select,c:\myfile.txt

User avatar
CyberCitizen
Automation Wizard
Posts: 724
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Re: Show file in folder

Post by CyberCitizen » Mon Jan 23, 2017 12:59 am

Thanks for that, the select feature is handy.
FIREFIGHTER

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts