On Oct 7, 9:03 pm, isnw <n
...@summitsix.com> wrote:
> Is it possible to create a symbolic link through a Firefox extension?
> We can create files and folders but I haven't found a method for
> creatingsymlinksin MDC yet.
you can do it through a shell script
--------------------------------
var shell = "/bin/sh";
var file = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
file.initWithPath(shell);
var process = Components.classes["@mozilla.org/process/util;1"]
.createInstance(Components.interfaces.nsIProcess);
process.init(file);
-------------------
found at http://forums.mozillazine.org/viewtopic.php?f=19&t=663377