[python-win32] Find Target

Rickey, Kyle W Kyle.Rickey at bakerhughes.com
Thu Apr 3 18:07:48 CEST 2008


I am trying to figure out how to show a specified file in explorer. I
know I can call os.startfile(directory) to show the containing
directory, but I would like the file to be selected also. Is there an
API call that windows makes to do this?

 

For example, right click on a shortcut and go to properties, then click
on the 'Find Target' button. Any ideas?

 

-Kyle Rickey

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080403/493c7edb/attachment.htm 


More information about the python-win32 mailing list