in reply to Shorten windows paths too long

You should use the DOS subst command which you can use to shorten your path.

The Win32::FileOp module has a Subst routine if you want to do this from within your script if your path is too long.