Why on earth would anybody want to use mb files anyway? (trust me if you screw up a mb file the datas gone, if you screw up ma file most of it is preplecable) If size is problem zip the ma file.
Okay a dense referene MIGHT be sane as a mb. But not the body file.
QUOTE
as a matter of fact I even can't open the file correctly in batch mode because of the invalid absolute paths,
Yes off course because eit cant find the refernces, but you can open files without loading references, this way you can change the path names before you load them up. Offcourse you can fix them at the source:
Offcourse you can just change them relative to begin with. This REQUIRES you to use project folders tough! No way around it im afraid. (and a project cant reside in the root of a dirve on windows. so z:\project isnt possible but z:\projects\project is a valid protect dir).
No maya at hand right now so i cant wirte code for you but ist just 4 to 5 lines really.