Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Shorten windows paths too long

by wwe (Friar)
on Aug 18, 2010 at 07:24 UTC ( #855694=note: print w/replies, xml ) Need Help??

in reply to Shorten windows paths too long

I'm not sure if perl and all of the modules you are using are aware of this but try the solution from here There is another API which is not limited to 260 characters but 32768. This Unicode API can be addressed by using a '\\?\' prefix e.g. '\\?\C:\temp\' or for network shares '\\?\UNC\server\c$\temp'. See attached link for details.

Update: corrected wrong link.

Replies are listed 'Best First'.
Re^2: Shorten windows paths too long
by gj2666 (Beadle) on Aug 18, 2010 at 15:36 UTC
    Hmmm, very interesting. Thanks for the tip.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2016-10-28 06:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.