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.

I edited the right click menu in windows xp and executing a python file for the selected files. Basically I was following this... http://sbirch.net/tidbits/context_menu.html

I was wroking on something, where I need to take all the selected image files and convert them into a single pdf.

So, the problem is, as described in the above link by using a %1 flag the script will be executed for each element in the selection seperately, which dosen't suit my need.

Is there any flag where I can specify to pass all the selected items at once as arguments so that in the .py script I can read them using sys.argv[1:]

Thanks for your time.

share|improve this question

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.