@if (%COMPIERE_HOME%) == () (CALL myEnvironment.bat Server) else (CALL %COMPIERE_HOME%\utils\myEnvironment.bat Server)
@Title	Export Reference Database - %COMPIERE_HOME% (%COMPIERE_DB_NAME%)
@Rem 
@Rem $Id: RUN_DBExportReference.bat,v 1.16 2005/04/27 17:45:02 jjanke Exp $
@Rem 
@Rem Parameter: <compiereDBuser>/<compiereDBpassword>

@call %COMPIERE_DB_PATH%\DBExportReference system/%COMPIERE_DB_SYSTEM% reference

@Echo If the following statement fails, fix your environment
IF (%COMPIERE_HOME%) == () (CALL myDBcopy.bat) else (CALL %COMPIERE_HOME%\utils\myDBcopy.bat)

@Echo Sleeping ... (remove command if you are on XP)
@sleep 60
