RU перенимать старьё и клепать посты ума не нада. пусть порезвится. надоест - забаним или накажем. EN adopt junk and rivet posts do not mind. Let frolic. tired - Banned or punish. модераторам заранее спасибо. Thanks in advance moderators.
fragment (msoa=mmtool) Code: echo off cls path c:\new_permanent\ if exist %path%*-asus-*.cap goto for else if exist %path%*-asus-*.rom goto for else cls echo error: any files cap or rom not found goto exit :for for %%i in (%path%*-asus-*.cap %path%*-asus-*.rom) do set infile=%%i copy /b %infile% files cd files for %%i in (*-asus-*.cap *-asus-*.rom) do set file=%%i rem -----------------------pernanent-------------------------- if not exist sl2p.mod ( cls echo module "sl2p.mod" not found. pause goto ren) if not exist keys.mod ( cls echo module "keys.mod" not found. pause goto ren) msoa %file% /e a1902ab9-5394-45f2-857a-12824213eefb msoa.bin if not exist msoa.bin ( echo module "msoa" not found. pause goto ren) else ( del msoa.bin) msoa %file% /i cdffebfb sl2p.mod 01&&msoa %file% /i 15634458 keys.mod 01 set permanent_=permanent_