All I want is to automate a program (which requires a lot of command line input to work) via a drag and drop interface. My first stop was batch programming, but I quickly found out that it's not even really possible to grab the extension of a file in there (with any straightforwardness).
So, I turn to my old standard, a c program. I think I know how to grab an extension in c, but I have no idea how to grab a file name/path from a drag and drop execution. Where would I go to start learning this?