Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

How do I execute a perl exe on a remote machine via short-cut

by Xtrac (Initiate)
on Jun 11, 2002 at 16:46 UTC ( #173555=categorized question: print w/replies, xml ) Need Help??
Contributed by Xtrac on Jun 11, 2002 at 16:46 UTC
Q&A  > programs and processes


I've created a program to do a job on my machine, it works fine(on my machine). I used perl2exe to convert it to an exe and placed it on one of our servers. When I try to run (double-click) it (the exe) on the share on the server (from my desktop) it fails, but if I rcmd or go to the server physically it runs fine. How do i get it to run on the server when the exe is accesed from a shared drive? -Xtrac

Answer: How do I execute a perl exe on a remote machine via short-cut
contributed by pepik_knize

When on Windows, if you only double-click on something on a shared drive, it attempts to run the program on the machine you're connecting from. For example, if you try to open an excel file, it'll fail if your local machine doesn't have excel installed. So what's happening is your script is running on the wrong machine, so it fails. You will either need to login (ssh) or set up the equivalent of a cron job. I believe you can do both options with cygwin.

Answer: How do I execute a perl exe on a remote machine via short-cut
contributed by Anonymous Monk

not all files on a shared drive can be executed espacially on unix systems. the user must log-in the remote system via a terminal emulator (telnet)

Please (register and) log in if you wish to add an answer

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others about the Monastery: (7)
    As of 2020-10-25 22:44 GMT
    Find Nodes?
      Voting Booth?
      My favourite web site is:

      Results (249 votes). Check out past polls.