Open explorer on a file

From Geoff Chappell’s The Windows Explorer Command Line

import subprocess
subprocess.Popen(r'explorer /select,"C:\path\of\folder\file"')

Leave a Comment