Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: [Win32] Verify filename (case sensitively)

by syphilis (Chancellor)
on Oct 08, 2012 at 12:53 UTC ( #997810=note: print w/ replies, xml ) Need Help??

in reply to Re: [Win32] Verify filename (case sensitively)
in thread [Win32] Verify filename (case sensitively)

Hi Corion,
Prompted by the link you gave, I switched to my C:/_32 directory which contains a file named 'switches.txt'. I tried:

C:\_32>perl -MWin32 -e "print Win32::GetFullPathName('SwitcHes.txt') C:\_32\SwitcHes.txt
Not much joy with that .. it just reproduces what I gave it.
C:\_32>perl -MWin32 -e "print Win32::GetLongPathName('SwitcHes.txt') switches.txt
That looks more promising !!
I should be able to make use of that in my script without going to too much trouble at all.

Incidentally, I did see that post of yours ... but didn't get around to actually reading the thread :-(


Comment on Re^2: [Win32] Verify filename (case sensitively)
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-11-26 01:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls