Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 romping around the Monastery: (14)
As of 2014-07-23 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (153 votes), past polls