Benjamin Smedberg <[EMAIL PROTECTED]> wrote:

>Relative to what? To the binary that is launched? 

I'd like to launch the binary with a relative path. It should be
relativ to the directory of the xul-file. The path must be relative,
because all Files are on an autorun-cdrom.

>You can get the binary 
>location from the nsIDirectoryService (see NS_OS_CURRENT_PROCESS_DIR 
>from nsDirectoryServiceDefs.h).
>
>Then you can use nsIFile/nsILocalFile to "append", "appendNative", 
>"appendRelativePath", or "appendRelativeNativePath".
>
>--BDS


Reply via email to