Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how to add a menu item to any folder right click in windows explorer that passes the selected folder as argument to the python script ?

I have written a tool in python that takes the folder path as argument and do the slideshow of the images in that folder, for which I want to do this.

share|improve this question

Open regedit and create a new key in HKEY_CLASSES_ROOT\Directory\shell with name Slideshow and modify value of Default (by right clicking on it in right pane) to Start slideshow.

Then you need to create another key in HKEY_CLASSES_ROOT\Directory\shell\Slideshow with name command. Modify Default value similarly to %1.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .