document path on local machine
I am writing a firefox extension.
I have a js file embedded into additional files to make up the extension.
I want to run a single executable file, but I can't figure out what the relative path is. The path must remain relative, because the user will set the directory.
The js code like so:
const path = "calc.exe"
var file = Components
However, it doesn't seem to run calc.exe no matter where I put it.
I've also tried /calc.exe, \calc.exe, ./calc.exe, and .\calc.exe with no success.
I have also embedded calc.exe at every directory level, still nothing.
Last edited by lucidlogic; 07-30-2006 at 08:19 PM..