I am trying to package up some javascript files using File to copy the contents of a directory.
This is working fine on XP, but on our build server which is windows 2003 I get a 'failed opening file' message trying to copy this path:
"..\..\..\windows\runtime\middleaaaa\aaacache\aaaaaaaaaa.stage.af1.aaaaaaaaaaa.com\%47com%47bbbbbbbbbbb%47js%47ccccccccl%47client%47application%47timeshift%47TimeshiftControlPanelCatchUpSubController.js"
Is this because the path is too long? I can't believe it is because of the strange characters in the path since the other files in this directory are copying OK.
If I can't copy this file, can I recover from the error and carry on with the next file?
The script I am using is:
SetOutPath $INSTDIR\middleware
file /nonfatal /r ..\..\..\windows\runtime\middleware\*.*
thanks in advance.
This is working fine on XP, but on our build server which is windows 2003 I get a 'failed opening file' message trying to copy this path:
"..\..\..\windows\runtime\middleaaaa\aaacache\aaaaaaaaaa.stage.af1.aaaaaaaaaaa.com\%47com%47bbbbbbbbbbb%47js%47ccccccccl%47client%47application%47timeshift%47TimeshiftControlPanelCatchUpSubController.js"
Is this because the path is too long? I can't believe it is because of the strange characters in the path since the other files in this directory are copying OK.
If I can't copy this file, can I recover from the error and carry on with the next file?
The script I am using is:
SetOutPath $INSTDIR\middleware
file /nonfatal /r ..\..\..\windows\runtime\middleware\*.*
thanks in advance.
Comment