Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is script list?

1211


What is lr_output_message?

1071


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

1057


How many types of vuser are available?

1031


What protocols does loadrunner support?

992


How can performance bottlenecks be identified?

961


What is the loadrunner start-transaction and its syntax?

1079


Does caching have a negative effect on your load testing results?

1084


What are all the types of goals in goal-oriented scenario of load runner?

1064


What is vuser-end section?

1049


What is remote command launcher?

1077


What is scenario default?

1102


Which function is used to end a nested transaction?

1002


How to create a host list for a scenario?

1109


What do you mean by remote command launcher(rcl)?

1171