Solved Run utility to run for backup different files

May 14, 2012 at 14:41:19
Specs: Windows XP, 8 GB
I am writing a script to run utility to extract the files.......

echo * 1>> C:\Oracle\Logs\BackupLog.txt 2>&1

cd /d C:\Oracle\Middleware\user_projects\system1\bin\

echo Starting Planning Backup. %date% %time% 1>> C:\Oracle\Logs\BackupLog.txt 2>&1
Utility.bat C:\Oracle\Balsheet.xml & Utility.bat C:\Oracle\Forecast.xml >>C:\Oracle\Logs\BackupLog.txt 2>&1
echo Ending Planning Backup. %date% %time% 1>> C:\Oracle\Logs\BackupLog.txt 2>&1

echo Starting Essbase Backup. %date% %time% 1>> C:\Oracle\Logs\BackupLog.txt 2>&1
Utility.bat C:\Oracle\PL.xml & Utility.bat C:\Oracle\Report.xml & Utility.bat C:\Oracle\Revenue.xml >>C:\Oracle\Logs\BackupLog.txt 2>&1
echo Ending Essbase Backup. %date% %time% 1>> C:\Oracle\Logs\BackupLog.txt 2>&1

The problem with this script is it getting out of script after ------------- Utility.bat C:\Oracle\Balsheet.xml & Utility.bat C:\Oracle\Forecast.xml >>C:\Oracle\Logs\BackupLog.txt 2>&1

Even the--- echo Ending Planning Backup. is NOT getting logged in log file......The 2nd part of script is not executed..how can i solve it
.......


See More: Run utility to run for backup different files

Report •


#1
May 14, 2012 at 14:48:42
✔ Best Answer
Replace all Utility.bat with call Utility.bat

How To Ask Questions The Smart Way


Report •

#2
May 14, 2012 at 15:37:37
Thanks Razor2.3 ....its workng gr8

Report •

#3
May 14, 2012 at 23:03:09
Hi R2,

Long time no see.


=====================================
Life is too important to be taken seriously.

M2


Report •
Related Solutions


Ask Question