locate-files

How do you delete N files of X type from Y subfolders from a Windows batch file?

I'm trying to write a windows batch file that can delete files from subdirectories. I would rather not hard code the directory structure in, so I can use this process with other projects. I need to delete files of X type I have the parent folder C:\MyProject There are Y subfolders C:\MyProject\? There are N files to delete Is there...

How can I use the system's context menu for files in a Java application?

Hello, I want to display results of a file search. I want to enable a context menu for a file selection, which will be the system's context menu. For example, if the user right-clicks a file in Windows - I want to display the popup-menu with the options: Open Open with... Edit Send to... Copy Cut etc... And, if possible - this menu...