what is the function to execute batch jobs?

Answer Posted / sksy

Use this piece of code
Action()
{

char command[1024]; // declare a cahar val

sprintf(command, "C:\testshilpa\batfile.bat");// mention the path of the file with full path details

system(command); // it will execute the command

return 0;
}

Note: batfile may contains command for batch job.You can try with "ping localhost -n 10"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which protocols are supported by loadrunner?

572


Which web protocol recording level generates the web_submit_form function?

1016


How are concurrent users differing from simultaneous users?

592


What kind of problem can we face regarding hardware, software, network and memory bottleneck during the performance test?

663


What is the difference between overlay graph and correlate graph?

667






During the load test, what is the optimum setting for logs?

590


When loadrunner is used?

658


how to get current system time Loadrunner function?

666


How to handle the encrypted values in correlation. please send me example with explanation

1159


How can you set the number of vusers in loadrunner?

581


Explain the difference between automatic correlation and manual correlation?

547


What is a correlation? Explain the difference between automatic correlation and manual correlation?

629


Hi all, I am new to Load Runner. I have run the load runner and i got analyzed reports/graphs. But i am very much confused about how to analyze those graphs. Can any one help me out this problem?

1561


How does loadrunner execute a performance scenario?

636


When the loadrunner controller open the winrunner file then what is the location of the winner configuration file?

647