Command Line PRT creation

I think there are some MEL code typos in the example you pasted.
For instance, I think mel doesn’t like the extra comma before the closing curly in this line:

{“nParticleShape1”,}, //$objectsToSave[]

Try changing that line to instead read:

{“nParticleShape1”}, //$objectsToSave[]

This line seems to have the same problem:

{“velocity”,“float16[3]”,“opacity”,“float16”,“rgb”,“float16[3]”,“particleId”,“int64”,}, //$channelInfo[]

..that should probably be:

{“velocity”,“float16[3]”,“opacity”,“float16”,“rgb”,“float16[3]”,“particleId”,“int64”}, //$channelInfo[]

Also, I think you'd want to change this:

“prt” ) //$saveFileFormat;

    ..to instead read:

“prt” ); //$saveFileFormat

    ..so that the ';' closes the command after the closing paren.

 So with those mods applied, you'd end up with the following which I think should paste OK without syntax errors anyway:

exportToPRT( {"PRTFractal1","NParticleShape1"}, //$objectsToSave[] "/Volumes/PROJECTS/2013/1351_Intel_CES/OPEN/production/_dev/maya/PRT//saver_v01/", //$PRTFolder "nParticles", //$txt_filePrefix 10, //$partitionCount 1, //$partitionStart 10, //$partitionEnd 1, //$frameStart 24, //$frameEnd 1, //$incrementSeeds 0, //$randomizeChannels 1, //$randomizeChannelPosition 0.01, //$randomizeChannelPositionRadius 0, //$randomizeChannelVelocity 0.01, //$randomizeChannelVelocityRadius {"velocity","float16[3]","opacity","float16","rgb","float16[3]","particleId","int64"}, //$channelInfo[] 0, //$saveMode 0, //$renderCurrent 0, //$verbosityLevel "prt" ); //$saveFileFormat