system calls in javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Steve64
    New Member
    • Apr 2007
    • 2

    system calls in javascript

    Hi,

    totally new to javascripting. And was woundering how to make a system call in javascript

    Any help would be much appreciated

    Steve
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    That is not possible with js. It is not a system programming language.

    Comment

    • AricC
      Recognized Expert Top Contributor
      • Oct 2006
      • 1885

      #3
      Originally posted by Steve64
      Hi,

      totally new to javascripting. And was woundering how to make a system call in javascript

      Any help would be much appreciated

      Steve
      What kind of system call are you trying to do? Please be more specific.

      Comment

      • Steve64
        New Member
        • Apr 2007
        • 2

        #4
        Originally posted by AricC
        What kind of system call are you trying to do? Please be more specific.
        I looking at writing automated software installation scripts. And I need to run API commands to configure the software after copying in the program files. The target OS is XP, using Windows Script Host to run the installation scripts

        A noddy example using PERL on a UNIX platform would be:

        $boot_time = system("who -b");

        getObject function? Can you hear the sound of straws being clutched?

        Steve

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Why use javascript for this?

          Is this going to be run on the client? You'll probably need to use some Windows-specific solution.

          Comment

          • benfly08
            New Member
            • Dec 2006
            • 19

            #6
            I actually have same question.

            My situation is we have an application installed in client's machine. Now we want to develop a website, which can launch that application. Is it possible to do it using Javascript? If not, then what is the solution?

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              Originally posted by benfly08
              My situation is we have an application installed in client's machine. Now we want to develop a website, which can launch that application. Is it possible to do it using Javascript? If not, then what is the solution?
              It's not possible using standard Javascript. If it's only for the client, you may use ActiveX which would only work with Internet Explorer on Windows.

              Comment

              Working...