well,
the files I'm checking for the size isn't into maya, just some files in a directory, that's because mental ray create 1k files, and I'm doing a script to detect those files.
but I think that the "system command and then disassemble the return" way could suite my need, but I don't know how can I use it, if I'm right ou sad that I can make a "dir" command and get the result in maya?is it true?