Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1678

Running a batch command from TaskDialog

$
0
0
i wish to run a batch file called pia.bat (which is in the path) after clicking on the yes from a TaskDialog that looks like this:


taskdialog yes no "PIA" "Run Pia.bat"
if %_? == 10 pia.bat

Running pia.bat from [C:\Program Files\JPSoft\TCMD31] works fine. Also works fine from windows command line.

How does one run a batch file from a yes no TaskDialog ?

Viewing all articles
Browse latest Browse all 1678

Trending Articles