Comment 5 for bug 1289983

Revision history for this message
Nicolas Matringe (nmatringe) wrote :

I wrote this small piece of code to check for pathname length:

@echo off
set workdir=%cd%
echo.%workdir%>len
for %%a in (len) do set /a len=%%~za -2
set l=%len%
del len
if %l% gtr 30 echo Pathname is too long

30 was just a random value to check it worked, I haven't checked what the maximum length should be for winbuilder to work ok.