[PythonCE] Icon Question

Isr Gish isrgish at fastem.com
Tue Feb 22 00:47:24 CET 2005


   >From: "Bill"<tech at zip51.com>
      >Subject: [PythonCE] Icon Question
   >
   >    Does anyone know how to set the icon that is displayed in the start 
   >menu or file menu for  .py files?
   >
   >I tried the Registry, but could'nt seem to make it work.

Make These entries in the registry.

[HKEY_CLASSES_ROOT\.py]
default ="PySource"

[HKEY_CLASSES_ROOT\.pyc]
@="PySource"

[HKEY_CLASSES_ROOT\PySource]
@="Python Source"

[HKEY_CLASSES_ROOT\PySource\shell]

[HKEY_CLASSES_ROOT\PySource\shell\open]

[HKEY_CLASSES_ROOT\PySource\shell\open\command]
@="\"\\Program Files\\Python\\lib\\python.exe\" \"%1\" %*"

[HKEY_CLASSES_ROOT\PySource\DefaultIcon]
@="\\Program Files\\Python\\lib\\python.exe, 0"

You should chnge the reference of python.exe To the location of your executable.

If you need any more help feel free to ask.

All the best
Isr

   >
   >
   >Thanks for your time,
   >    Bill
   >_______________________________________________
   >PythonCE mailing list
   >PythonCE at python.org
   >http://mail.python.org/mailman/listinfo/pythonce



More information about the PythonCE mailing list