Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^10: Convertion Perl Script to Exe with PAR::Packer pp

by RonW (Parson)
on Jul 25, 2014 at 20:02 UTC ( [id://1095091]=note: print w/replies, xml ) Need Help??


in reply to Re^9: Convertion Perl Script to Exe with PAR::Packer pp
in thread Convertion Perl Script to Exe with PAR::Packer pp

So, just putting the xlsx file in C:\?

(On Win7, HOMEDRIVE is almost always C:\. Sometimes D:\, E:\ or other, but always just a drive letter.)

(Maybe I'm remembering wrong, but I recall WinXP, Win2000 and Win98 using various different env vars, but never HOME)

Replies are listed 'Best First'.
Re^11: Convertion Perl Script to Exe with PAR::Packer pp
by marchiore (Initiate) on Jul 25, 2014 at 20:13 UTC
    Yes, i created a folder containing the file and in the script i got it with:
    "$ENV{HOMEDRIVE}" . "\\JOFA\\jofalista.xlsx"
    Much more easier than i think. Thanks again!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-26 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found