[pywin32-checkins] pywin32/com/win32comext/shell/demos dump_link.py, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-08-18 13:00:30
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/demos In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12488/win32comext/shell/demos Modified Files: dump_link.py Log Message: dump more information about a shell link. Index: dump_link.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/demos/dump_link.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** dump_link.py 15 Feb 2007 13:02:04 -0000 1.1 --- dump_link.py 18 Aug 2008 13:00:39 -0000 1.2 *************** *** 13,17 **** shellLink.Resolve(0, shell.SLR_ANY_MATCH | shell.SLR_NO_UI) fname, findData = shellLink.GetPath(0) ! print "Filename", fname, ", UNC=", shellLink.GetPath(shell.SLGP_UNCPRIORITY)[0] def FavDumper(nothing, path, names): --- 13,20 ---- shellLink.Resolve(0, shell.SLR_ANY_MATCH | shell.SLR_NO_UI) fname, findData = shellLink.GetPath(0) ! print "Filename:", fname, ", UNC=", shellLink.GetPath(shell.SLGP_UNCPRIORITY)[0] ! print "Description:", shellLink.GetDescription() ! print "Working Directory:", shellLink.GetWorkingDirectory() ! print "Icon:", shellLink.GetIconLocation() def FavDumper(nothing, path, names): |