![]() |
Help needed : Batch processing of *.BK2
hi !
I have a folder which contents a lot of subfolders ,and those folders have tons of BK2 files. I need to pack those BK2 files (BPK) one by one ,named as the original ones ,but with .arc extension(in the same subfolder!) ,because some of them cant be processed as BINK. Selecting/looking for them one by one makes my crazy,time consuming ,etc. And of course i cant write the code in batch. Im too lame :D How can i execute this line in batch ? arc.exe a -i2 -r -mbpk 1.arc 1.bk2 Anyone can help me ? |
Code:
:-ioff --shutdown |
I didnt tried it ,but imho its not good for me.
Real example : C:\dir1 (126 files) C:\dir1\dir2 (72 files) C:\dir1\dir2\dir3 (155 files) I need to compress each bk2 into separate files(in the same subfolder with .arc extension) ,not in one archive! I hope you understand. :) Btw thanks for the help ! :) |
I think you're looking for this:
Code:
for /r %%f in (*.bk2) do arc.exe a -i2 -r -mbpk %%~dpnf.arc %%fRun "for /?" in the command line for the complete description of the "for" command, including everything I wrote above. |
Many thanks !
Thats what im looking for ! :) @Joe Forster/STA : Egyebkent meg hello földi ! :) |
| All times are GMT -7. The time now is 09:41. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com