Thread
:
C++ - Opening a .bat - C++
View Single Post
SaswatPadhi
~ Б0ЯИ Τ0 С0δЭ ~
8Oct2009,21:03
You can do that this way :
Code: C++
system
(
"Temp.bat"
)
;
In case, you need to provide full path to the bat file, remember to use double backslashes (\\) instead of a single one (\) in the path. For example :
Code: C++
system
(
"C:
\\
Temp
\\
Temp.bat"
)
;