Title: path to START MENU folder

Somewhere I found this code to get the path to the DESKTOP folder:

  from win32com.shell import shell
  df = shell.SHGetDesktopFolder()
  pidl = df.ParseDisplayName(0, None,"::{450d8fba-ad25-11d0-98a8-0800361b1103}")[1]
  mydocs = shell.SHGetPathFromIDList(pidl)
  print mydocs

When I execute it, I get this: C:\Documents and Settings\freddy\My Documents.

That's ok. Now, I want to get the START MENU folder for all users, which is something like: "C:\Documents and Settings\All Users\Start Menu".

Thanks for your help.

Regards,
Freddy Chavez.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to