On Apr 23, 7:47 pm, Thomas Mueller <[email protected]> wrote: > Hi, > > > When executing as admin, the default directory is c:\windows\system32 > > Do you mean, if you double-click it? > > > and the script fails since it has relative paths. Would be nice to add a > > cd command to fix that. > > Could you provide a patch?
Not much to do I'd say just move the "set _REALPATH=%~dp0" line to the top and use that in the copy command: set _REALPATH=%~dp0 copy /y /b %_REALPATH%..\bin\h2-*.jar %_REALPATH%..\bin\h2.jar Thomas -- 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.
