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:
However:
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 :-(
Cheers,
Rob
Prompted by the link you gave, I switched to my C:/_32 directory which contains a file named 'switches.txt'. I tried:
Not much joy with that .. it just reproduces what I gave it.C:\_32>perl -MWin32 -e "print Win32::GetFullPathName('SwitcHes.txt') C:\_32\SwitcHes.txt
However:
That looks more promising !!C:\_32>perl -MWin32 -e "print Win32::GetLongPathName('SwitcHes.txt') switches.txt
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 :-(
Cheers,
Rob
|
---|
In Section
Seekers of Perl Wisdom