can i involke a bat script in evb?
Posted: Mon Sep 11, 2023 7:30 am
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!
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!