Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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 myscript.py %1.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.