Show file in folder

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

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

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

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
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
CyberCitizen
Automation Wizard
Posts: 721
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
cron
Sign up to our newsletter for free automation tips, tricks & discounts