When in the executable environment there is an extra strip that needs to be done to get the absolute path. For example say your files are located in C:Temp. Your vi name is test.vi. So using the Current vi's Path function inside of test.vi you will see a path of C:Temp\test.vi. If you were to compile this into an executable you would see C:Temp\test.exe\test.vi. So to get the base path you can use the strip path function twice. This is also the case in a DLL created in LV. Hope this helps.
BJD1613
Lead Test Tools Development Engineer
Philips Respironics
Certified LV Architect / Instructor