Rob123 is correct. The program name would be a persistant in the context but I would have a check in the program if nothing is selected.

The program name in the right click would need to be at the top of the list and present like "Copy" or "Delete" when a file or folder is selected.

Thanks,