/* Simple jre application launcher */
parse source . . thiscmd

/* If running this moneydance.cmd file "as is" doesn't work, edit 
   the following line to include the full path to the java executable. */
jbin = 'java'

/* find out the directory of this command file */  
mdbin = filespec('drive', thiscmd)||filespec('path', thiscmd)  

/* run the application */ 
'@' || jbin' -cp' mdbin'moneydance.jar;'mdbin'license.jar;'mdbin'appsrc.jar;'mdbin'jcommon-1.0.16.jar;'mdbin'jfreechart-1.0.13.jar;'mdbin'tablelayout.jar Moneydance'  

/* return any result to the caller */  
return rc
