try

@scriptdir + '\grc.dat'

instead of

%0\..\grc.dat

does this change anything ?
_________________________