The popular and easy way is developed a java program package and load in satabase(or sipmply created in database), then create a procedure to call that program. At last call this procedure where you want to process the bat file with passing in the command as string parameter. This will not require lot of java knowledge but follow the procedures.
Again visit this site:
OR visit oracle magazine in MARCH/APRIL volume on line
just follow the procedures.