Hi Task, On Thu, 20 Feb 2003 18:55:10 -0400 Task Control <[EMAIL PROTECTED]> wrote:
>>> - only write one file out of directory: "c:\vampire.ini" >> Why this file is located in root directory of disk C: (or any root >> directory of any disk)? > The problem with the bat! are the execution directory of the plugin > some times are the bat directory, another times the plugin directory, > and others times a windows\desktop directory That's bad ... I don't have C:\ C:\ was my old Win98SE, meantime killed. My currently running Windows if located on F:\ So your best bet would be, if there's no chance to figure out the path of your DLL at runtime (e.g. as Marck suggested in <mid:[EMAIL PROTECTED]>, maybe there's something similar for DLLs), to 1.) Assume your PlugIn is installed in %TheBat-Dir%\Plugins\Vampire -> Just go and read the Path of The Bat! from registry 2.) If DLL is not found with #1 read an own registry value. Registry is path independent and therefore should work on any Windows. Assuming C:\ being present might work in 99% but it no save way of handling this issue :-/ Just my 0.02 <currency of your choice> P.S.: Do you Spanish lines at the beginning of each and every mail (even new mails) say something important? I'm just curious if I miss something when not understanding "Estimados seguidores del tbdev arroba thebat.dutaint.com" -- Pit ________________________________________________ Current version is 1.62 | "Using TBDEV" information: http://www.silverstones.com/thebat/TBUDLInfo.html

