in reply to Shorten windows paths too long
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:
cd /d H:/softwaredistribution/hudson/jobs/Conservation_Payment_Release +/workspace/trunk/target/checkout/conservation-ejb-batch/target; move +/Y was6-maven-plugin w6
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Shorten windows paths too long (trim)
by gj2666 (Beadle) on Aug 17, 2010 at 18:23 UTC | |
by Marshall (Canon) on Aug 17, 2010 at 20:17 UTC | |
by gj2666 (Beadle) on Aug 18, 2010 at 15:23 UTC | |
by Marshall (Canon) on Aug 19, 2010 at 22:55 UTC | |
Re^2: Shorten windows paths too long (trim)
by gj2666 (Beadle) on Aug 18, 2010 at 15:27 UTC |