|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Shorten windows paths too long (trim)by tye (Cardinal) |
| on Aug 17, 2010 at 17:17 UTC ( #855551=note: print w/ replies, xml ) | Need Help?? |
|
Can't you just trim the huge path and give 'move' the key not the full path so that you try to run this instead:
Update: You don't appear to be that close to the 255 point when the failure happens so the problem is probably that the directory is 'in use' in a way that prevents it from being renamed. The move fails but produces no error message? That is strange. You could get the old SysInternals filemon and see the error reason for the move failing or use Perl's rename and report $! and $^E after that fails. - tye
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||