On Apr 26, 6:43 am, Thomas Mueller <[email protected]> wrote: > Hi, > > What about adding this at the very beginning: > > cd %~dp0 > > Regards, > Thomas > I think simply using %~dp0 makes it more stable and easier to use for other scripts.
If you do change the current directory that might confuse other scripts calling that one (e.g. as part of an installation script). If at all, I would (only) consider using "pushd %~dp0" at the beginning and "popd" at the end to restore the old current directory. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
