Quote Originally Posted by .paul. View Post
The problem with the right click menu is that it runs a program once for every selected file.
It looks to me like the code you posted would do that, as well. That looks like it just adds things to a text file, or suggests that you might either iterate through a queue by some means not well described.