unique file names with Offzip using batch file?

Doubts, help and support about QuickBMS and other game research tools
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

unique file names with Offzip using batch file?

Post by Acewell »

Hi i'm using a batch file to run Offzip on many files at once,

Code: Select all

for %%G in (*.bin) do offzip.exe -a %%G

the problem is the output files are trying to be named the same and offzip is giving me no option to auto-rename them on the fly. :(

How can i fix this batch file to give each output file a unique file name, or is there a hidden option in Offzip that can do this? :oops:
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Re: unique file names with Offzip using batch file?

Post by chrrox »

you could use the batch file to create a folder for each file then set the output t o that folder for each file.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: unique file names with Offzip using batch file?

Post by Acewell »

yeah i thought about that but that just creates a new problem with having many folders and the files still won't have unique names :)

aluigi, can you add auto-renaming to offzip like it works in Quickbms? :?:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: unique file names with Offzip using batch file?

Post by aluigi »

You should modify your batch script to create new folders and use them as output.
It's the easiest solution.