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

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 http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx 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.


Comment on Re: Shorten windows paths too long
Re^2: Shorten windows paths too long
by gj2666 (Sexton) on Aug 18, 2010 at 15:36 UTC
    Hmmm, very interesting. Thanks for the tip.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2014-12-27 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls