Subject Re: [firebird-support] Script relative external files?
Author Philippe Makowski
Richard Wesley [08-05-29 18.43] :
> Hi All -
>
> I have an isql build script for an embedded database that takes a
> bunch of external tables and copies them into a real database with
> indexing etc. The script works great except that I seem to need to
> specify full path-names for the external files. This makes the
> script rather un-portable - even within different development
> sandboxes on my machine!
>
> Any suggestions on how to make this work with script-relative paths
> so I don't have to edit the script every time I do a build in a
> different location?
>
if you don't specify a full path, Firebird will look into the directory define in
firebird.conf for the ExternalFileAccess parameter