Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Symbolic Link
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
isnw  
View profile  
 More options Oct 7 2009, 11:03 pm
Newsgroups: mozilla.dev.extensions
From: isnw <n...@summitsix.com>
Date: Wed, 7 Oct 2009 20:03:23 -0700 (PDT)
Local: Wed, Oct 7 2009 11:03 pm
Subject: Symbolic Link
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
creating symlinks in MDC yet.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pavol Mišík  
View profile  
 More options Oct 8 2009, 12:51 am
Newsgroups: mozilla.dev.extensions
From: Pavol Mišík <pmi...@gmail.com>
Date: Thu, 08 Oct 2009 06:51:40 +0200
Local: Thurs, Oct 8 2009 12:51 am
Subject: Re: Symbolic Link
isnw 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
> creating symlinks in MDC yet.

I think you can create native component that will offer this
functionality to your extension. But you have to do this for every
supported platform and of course you have to check if file system
support this feature.

PM-


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
isnw  
View profile  
 More options Oct 8 2009, 8:52 pm
Newsgroups: mozilla.dev.extensions
From: isnw <n...@summitsix.com>
Date: Thu, 8 Oct 2009 17:52:58 -0700 (PDT)
Local: Thurs, Oct 8 2009 8:52 pm
Subject: Re: Symbolic Link
That makes sense.  Thanks for the feedback.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
slotboxed  
View profile  
 More options Oct 15 2009, 6:21 am
Newsgroups: mozilla.dev.extensions
From: slotboxed <slotbo...@gmail.com>
Date: Thu, 15 Oct 2009 03:21:15 -0700 (PDT)
Local: Thurs, Oct 15 2009 6:21 am
Subject: Re: Symbolic Link
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
slotboxed  
View profile  
 More options Oct 15 2009, 6:49 am
Newsgroups: mozilla.dev.extensions
From: slotboxed <slotbo...@gmail.com>
Date: Thu, 15 Oct 2009 03:49:22 -0700 (PDT)
Local: Thurs, Oct 15 2009 6:49 am
Subject: Re: Symbolic Link
On Oct 15, 4:21 am, slotboxed <slotbo...@gmail.com> wrote:

oops, missed the last two lines of code:

var args = ["path/to/script","arg1","arg2","etc"];

process.run(false, args, args.length);


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »