Post
Topic
Board Development & Technical Discussion
Re: VanitySearch (Yet another address prefix finder)
by
nc50lc
on 25/04/2020, 04:41:17 UTC
Nice work! Thank You Smiley
But i have one more question.
How to move the newly created file to a new location after every loop?
Really? Is it that hard to manually move the text files instead of automating it?  Cheesy
Ok, just add this line to the batch file's first three lines and %directory% after each %output%, it should look like this:
Code:
@set directory=C:\test\
Code:
.
.
.
.
set loop=0
:start
%command% -i %input% -o %directory%1%output%
set /a loop=%loop%+1
if "%loop%"=="100" goto next
goto start

:next
%command% -i %input% -o %directory%2%output%
set /a loop=%loop%+1
if "%loop%"=="200" goto next2
goto next
.
.
.

Make sure that 'test' folder under C:\ is already existing or it will fail to write.