Execute python script from batch

hi i need a batch with which i vcan execute a script in blender.

so i have an blend file already opened and now i want to run a batch which executes a script on that file !

anyone an idea ?


that’s not possible

however you can run the script in blender at the same time you open the file with the -P switch

what about a different way ? like an extra python script or an .exe (py2exe?!)

it must go !

or maybe wit a script in which one openes a file and the other executes a script ?

but how ?!

how is it with saving an py as a blend file. these you can run from batch or? and then execute?