[python-win32] Find Target

Scott Nelson sirgnip at gmail.com
Thu Apr 3 19:39:35 CEST 2008


Kyle,

If I understand you correctly, and if your not stuck on using os.startfile(),
you can use explorer.exe's command line options to do this (and more).

os.system('%SystemRoot%\explorer.exe/e,/select=C:\MyFolder\subfolder\MyFile.
txt')
See thisfor more info:  http://support.microsoft.com/kb/314853

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


More information about the python-win32 mailing list