Is it possible to protect file in bulk?

Issues related to VMProtect
Post Reply
zoox
Posts: 2
Joined: Tue Dec 14, 2010 12:49 am

Is it possible to protect file in bulk?

Post by zoox »

Hello.

My situation is that I have a batch of many small files to protect every time.

Can VM Protect protect multiple files at a time? If protect one by one is a lot of manual time.

Also, is there a way to just replace the old file? Not to rename it with .vmp.exe, because I have to manually rename every file to a different name.

Many thanks!
Support
Posts: 40
Joined: Tue Mar 30, 2010 5:01 pm

Re: Is it possible to protect file in bulk?

Post by Support »

VMProtect has a console version that can be called from a batch script. The solution depends on particular protection details, but it is possible in general.

As for replacement the original file, the answer is no. You can't replace the source file while protecting it. However, you may replace it later as you are using batch file.
zoox
Posts: 2
Joined: Tue Dec 14, 2010 12:49 am

Re: Is it possible to protect file in bulk?

Post by zoox »

Support wrote:VMProtect has a console version that can be called from a batch script. The solution depends on particular protection details, but it is possible in general.

As for replacement the original file, the answer is no. You can't replace the source file while protecting it. However, you may replace it later as you are using batch file.
Hi thanks for responding,
could you please explain a little more how to use the console version to do this? perhaps some documentation of some sort?

another thing is if it's possible to just drag file to the WMP window while some other file is opened? just to replace the currently opened files... basically to simply the process of protecting large number of files.

please let me know if there is any solution,

thanks
Admin
Site Admin
Posts: 2686
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: Is it possible to protect file in bulk?

Post by Admin »

Try this BAT file:

Code: Select all

@echo off

for %%i in (
 File1.exe
 File2.exe
 File3.exe
 File4.exe
 File5.exe
) DO (
echo %%i
vmprotect_con.exe "%%i" "Output/%%i"
if errorlevel 1 goto err
)

goto end

:err
echo.
echo Error !!!
echo.

pause

:end
The protected files will be created in "Output" directory (you need create this directory before run the BAT file).
Post Reply