Page 1 of 1

can i involke a bat script in evb?

Posted: Mon Sep 11, 2023 7:30 am
by huangqi329
I have a exe application, code by QT,and I involke a bat script in my exe like this:

QProcess diskpartProcess;
QString scriptPath = ".//rescan_disk.bat";
diskpartProcess.startDetached(scriptPath);

the bat file like this:
echo rescan | diskpart

my evb project like attched file:

but, when I pack all the files by evb, I can not involke the bat.

thanks for reply!

Re: can i involke a bat script in evb?

Posted: Mon Sep 18, 2023 7:07 am
by Enigma
Hi, can you please make a sample application for us for testing? Put just execution of this bat file inside it, nothing more. Please send it at support@enigmaprotector.com.

Recent version of EVB has to support execution of bat files, probably your case is specific.