Hi,

as an example, I have 3 scripts that contain only :

use 5.010; say $0;
C:\test>pp -o pack.exe script1.pl script2.pl script3.pl

Then I move pack.exe to another machine (running Windows Server 2016) :

Renaming works :

C:\test>rename pack.exe script1.exe C:\test>script1.exe C:\test\script1.exe C:\test>rename script1.exe pack.exe

Hard-linking works :

C:\test>mklink /h script1.exe pack.exe Hardlink created for script1.exe <<===>> pack.exe C:\test>script1.exe C:\test\script1.exe C:\test>del script1.exe

Soft-linking doesn't :

C:\test>mklink script1.exe pack.exe symbolic link created for script1.exe <<===>> pack.exe C:\test>set PAR_GLOBAL_DEBUG=999 C:\test>script1.exe Usage: C:\test\script1.exe [ -Alib.par ] [ -Idir ] [ -Mmodule ] [ src. +par ] [ program.pl ] C:\test\script1.exe [ -B|-b ] [-Ooutfile] src.par

In reply to Re^2: Symlinks with PAR::Packer not working on Windows by kaldor
in thread Symlinks with PAR::Packer not working on Windows by kaldor

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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, details, 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, summary, 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.