Getfilesize along with Getfilesize appear to have problems with having a long variable value passed to either function.

When either have a variable with long length passed to them they return nothing.
Same issue with kix2010.451 or kix2010.453


Sample code:

break on
cls
$v1="u:\user\projects\Documents\RATE CHG\Commercial Lines\200509190928 CIM Bldrs Risk Addl Ded - All states except AZ, GA, NM, and SC - Eff 12-01-05\200509191041 Model Hme deductibles AZ, GA, NM, SC - EFF 12-01-05|RE CIM Builders Risk additional deductibles (1005 project).msg"
? "get size"
? GetFileSize( $v1 )
? len(GetFileSize( $v1 ) )
? "get time "
? getfiletime($v1,1)
? len(getfiletime($v1,1))

Exit

Results were:
*************************************
get size

0
get time

0
*************************************
I’ve written a script that drills down through the directory tree and ran into this issue once the path started getting really long and was able to reproduce the issue with the sample code shown above.

I’ve looked through the forum and couldn’t find anything that related to getfiletime or getfilesize having problems with long variables being passed to them.


Ideas/suggestions would be appreciated.

Thank you.