List Info

Thread: Launching Windows' shortcut editor




Launching Windows' shortcut editor
user name
2006-01-25 16:27:03
Hi, I would like to invoke the same shortcut editor that you
get when
you right cilck on a shortcut (link) and choose Properties. 
It lets
you edit the Target and Start In directories, etc.

I've tried:
            win32api.ShellExecute (0,
"Properties", filename, None, ".", 0 )
            win32api.ShellExecute (0, "Edit",
filename, None, ".", 0 )
Where filename is the .lnk file But I get a permissions
error with the
"Edit" and no response from "Properties"

Is there a way to do this?

Thanks,
-jim
_______________________________________________
Python-win32 mailing list
Python-win32python.org

http://mail.python.org/mailman/listinfo/python-win32
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )