matan,
There are two ways you can do this, both involve using the extractFilePath() function on either of the following:
1. ParamStr( 0 )
2. Application.ExeName
I prefer the former because it tends to involve fewer runtime BPL's, however, your mileage may vary.
For details, please see the online help on these methods.
Hope this helps...
-- f