@TEAM DISK -check ,,,3,Z:,2   //U盘
SET &sortret=
TEAM SET sortret=OK|DISK -check  ,,,2,,2   //预先排列一次，也可以不要

//////////////固定C:  \bootmgr优先，其次\BOOT.INI
@TEAM SET &_SysPt=| SET &DrvS=C:| SET &Drv1=
FORX * bootmgr BOOT.INI,&&Tagf,
{   FORX  \%&Tagf%,&Drv1,0,
    {   FDRV &Drv1=%&Drv1%
        @TEAM PART -phy# LIST drv %&Drv1%,&V1| MSTR &Lid1,&&id1,&&hd1=<1><8><10>%&V1%
        IFEX $[ %&id1%>=1 & %&id1%<=4 & '%&Drv1%'<>'%&DrvS%' ], @TEAM SET sortret=|SUBJ *- %&Drv1%| SUBJ *- %&DrvS%| SHOW * %&hd1%#%&id1%,%&DrvS% 
        IFEX $[ %&id1%>=1 & %&id1%<=4 ], TEAM SET _SysPt=-skippt:%&hd1%:%&Lid1%| EXIT  //C:不再调整
    }
    FIND $%_SysPt%<>, EXIT 
}
FIND $[ '%&sortret%'<>'OK' ], DISK -check %&_SysPt%  ,,,2,,2  //调整固定C:后重排一次
//////////////
