Subject Help my batch file for using GBak stopped working in FB 1.5.2
Author Namit Nathwani
Hi all

I was using the below pasted batch file to create a blank structure of my
database. Now after installing FB 1.5.2 (previously I had 1.5.1) the batch
file though does create the database but also copies the data along with it.

Please advise. I have a deployment to make and I can't send the database
alongwith the data in it.

<batch file starts>
@ECHO OFF

IF "%1"=="" GOTO :PROJNAME


DEL C:\TRASHCAN\META.FDB
TYPE NUL > C:\TRASHCAN\CreatingFDB.tmp

"C:\Program Files\Firebird\Firebird_1_5\bin\gbak.exe" -M -USER SYSDBA -PAS
masterkey C:\VSO3\Projects\%1\Data\VSO3.FDB C:\TRASHCAN\META.FDB

"C:\Program Files\Firebird\Firebird_1_5\bin\gbak.exe" -C -USER SYSDBA -PAS
masterkey C:\TRASHCAN\META.FDB D:\VSO3\Projects\%1\Data\Original\VSO3.FDB

DEL C:\TRASHCAN\META.FDB
DEL C:\TRASHCAN\CreatingFDB.tmp

GOTO :END


:PROJNAME
ECHO:
ECHO:
ECHO Please provide the Project Code
ECHO:
ECHO:


:END
<batch file ends>



Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://ahmedabad.sancharnet.in/vso_ad1/
namitbn@...
___________________________________________

----------



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.4 - Release Date: 18/03/2005


[Non-text portions of this message have been removed]