Is there some reason the xlsx file needs to be included in the .exe file? This xlsx file is really part of the program's input, not the program itself. I would suggest enhancing your program to allow the user to specify the xlsx files to use.
At the very least, I would look for a way to discover the location of the .exe file then look for the xlsx file there.
Another option would be to tell the users to put the xlsx file in their "My Documents" folder. On Win7, you can find this with:
$ENV{USERPROFILE} . "\\My Documents\\"On other versions of MS Windows, open a cmd window and type set to get a list of the environment variables. Then you can find the one that gets you the closest. Use that and modify the appended path as needed.
In reply to Re^8: Convertion Perl Script to Exe with PAR::Packer pp
by RonW
in thread Convertion Perl Script to Exe with PAR::Packer pp
by marchiore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |