There may be another way to do it, but Current VI's Path I think will return you the path to the VI *inside* the EXE, in which case you'll need to strip the path *twice* to get the path to the folder containing the EXE. Somebody else can correct me if I'm wrong about this. If this is right, then you'd need to read the App.Kind property in your diagram and use it to figure out if you need to strip the Current VI's Path once or twice.
Hope this makes sense,
-D
P.S. - I just had another idea...you can use the "Directory Path" property of the Application class...in the development environment, this property gives the path to the folder that contains your LabVIEW.exe file (like c:\Program Files\National Instruments\LabVIEW 8.0). Perhaps in an EXE it would give the path to the folder containing your EXE?
Message Edited by Darren on 01-26-2006 04:38 PM