I am trying to make a java swing program to be used for upgrade of databases
and copy files to my installations.
Do you know or have any idea of how i can load scripts on a database using
java? Or how i can create and start a cmd file that runs the sql for me?
Do you know how to copy files from java?

If there are codeexamples or programs available for download, I will be happy
to know where I can find it?

All tips, examples and answers will be appreciated.