what is the function to execute batch jobs?



what is the function to execute batch jobs?..

Answer / 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

More Load Runner Interview Questions

What is difference between manual scenario and goal oriented scenario?

0 Answers  


We use pacing to have interval between two iteration of script. Why?

3 Answers   Orange,


what scalabulity testing

1 Answers   Nous,


How vugen create a vuser script?

0 Answers  


What is the difference between load, performance testing?

0 Answers  






i dnt kw loadrunner but i want kw.plz can any 1 help me

1 Answers  


I dont have real time experience on Load Runner, but i am going to attend Interview on Load Runner. Can anyone give some tips ?

2 Answers  


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

0 Answers  


What is the latest version and language used in load runner?

0 Answers  


Which loadrunner component does the recording of performance test scenario?

0 Answers  


HI, I NEED PERFORMANCE TESTING INSTITUTE.... "KEY LABS" INST IS GOOD OR NOT ... PLS ANY BODU CAN TELL? THANK U

2 Answers  


ingenaral realtime prjoects how much load and bottile neck will take part in a project?(Chandana)

1 Answers   TCS,


Categories