|
#1
|
|||
|
|||
|
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 ![]() How can i execute this line in batch ? arc.exe a -i2 -r -mbpk 1.arc 1.bk2 Anyone can help me ? |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Code:
:-ioff --shutdown SET DIR=J:\Program Files (x86)\Mafia III Deluxe Edition SET MC=bpk Arc.exe create -i2 -ds=esn -ep1 -r -ed -s; -w.\Temp -dp"%DIR%" -m%MC% -n"*bk2" "RG-1.Bin" RD /S /Q TEMP pause |
| The Following User Says Thank You to Simorq For This Useful Post: | ||
shazzla (13-04-2019) | ||
|
#3
|
|||
|
|||
|
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 !
|
|
#4
|
||||
|
||||
|
I think you're looking for this:
Code:
for /r %%f in (*.bk2) do arc.exe a -i2 -r -mbpk %%~dpnf.arc %%f Run "for /?" in the command line for the complete description of the "for" command, including everything I wrote above.
__________________
Joe Forster/STA For more information, see the FileForums forum rules and the PC Games forum FAQ! Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply! Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back! |
|
#5
|
|||
|
|||
|
Many thanks !
Thats what im looking for ! ![]() @Joe Forster/STA : Egyebkent meg hello földi !
Last edited by shazzla; 13-04-2019 at 03:48. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unpack files with progress in batch | gozarck | Conversion Tutorials | 3 | 29-06-2016 12:38 |
| Small help to complete myh batch file | sandmaan | PC Games | 0 | 17-08-2014 11:24 |
| How do I make a batch file to burn CDDA games? | Excalibur007 | DC Games | 1 | 01-06-2002 11:22 |
| 1:1 on Win2000 no crack needed. Win 98/XP crack needed. Why? | Chikoko | PC Games | 0 | 16-01-2002 15:35 |
| I want to know what is needed to start burning DC games???? | 1977 | DC Games | 3 | 29-05-2001 21:17 |