On a really, really simple level, as a windows batch file something like this would work:
@set /p orig= Original Pheno:
@set /p new= New Pheno:
copy pma%orig%*.mdl pfh%new%*
copy pmd%orig%*.mdl pfh%new%*
copy pme%orig%*.mdl pfh%new%*
copy pmg%orig%*.mdl pfh%new%*
copy pmh%orig%*.mdl pfh%new%*
copy pmo%orig%*.mdl pfh%new%*
copy pfa%orig%*.mdl pfh%new%*
copy pfd%orig%*.mdl pfh%new%*
copy pfe%orig%*.mdl pfh%new%*
copy pfg%orig%*.mdl pfh%new%*
copy pfh%orig%*.mdl pfh%new%*
copy pfo%orig%*.mdl pfh%new%*
pause
Seemed to work in my testing anyways. I haven't actually scripted outside nwscript in more than a decade, so I'm quite rusty.
You'd also need to move the specific files into their own folder, since it's non-descriminant on what parts and part numbers would be copied. A couple more set variables could fix that though.
Modifié par Failed.Bard, 27 juillet 2012 - 01:50 .