Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Symlinks with PAR::Packer not working on Windows

by Marshall (Canon)
on Jul 07, 2021 at 01:30 UTC ( [id://11134743]=note: print w/replies, xml ) Need Help??


in reply to Symlinks with PAR::Packer not working on Windows

I don't have experience with pp, but a symlink is a directory entry on your machine. Your .exe won't have any idea about that. I didn't know (or would expect) that various scripts could "packed" into a single .exe. Each executable program would have its own .exe file. To the best of knowledge, there is no such thing as multiple exe's within one exe. Each script must have its own .exe.

Replies are listed 'Best First'.
Re^2: Symlinks with PAR::Packer not working on Windows
by kaldor (Beadle) on Jul 08, 2021 at 19:07 UTC

    The .exe knows with what name it was called, that's how PAR::Packer knows which script to execute.

    Windows shortcuts are different from links, because they are regular files interpreted by Explorer or cmd.exe, which means that the .exe is called with its actual filename, whatever the shortcut name is.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11134743]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found