in reply to Re: Symlinks with PAR::Packer not working on Windows
in thread Symlinks with PAR::Packer not working on Windows
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Symlinks with PAR::Packer not working on Windows
by swl (Prior) on Jul 08, 2021 at 22:21 UTC | |
by kaldor (Beadle) on Jul 09, 2021 at 19:25 UTC | |
by swl (Prior) on Jul 10, 2021 at 00:40 UTC | |
|
Re^3: Symlinks with PAR::Packer not working on Windows
by Anonymous Monk on Jul 09, 2021 at 03:10 UTC |