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 are the capabilities exactly you look for while selecting the performance testing tool?

1094


How can we invoke a parellel process in load runner using C or perl language?

2287


What is pause command?

1288


You have an application which shows the exam results of the student. Corresponding to name of each student its mentioned whether he passed or failed the exam with the label of “pass” and “fail”. How will you identify the number of passed and failed student in vugen script?

1208


What are the different components of loadrunner?

1068


How could you measures Https/Sec ?

2386


How can we find database related issues?

1079


What is the difference between overlay graph and correlate graph?

1141


What protocols does loadrunner support?

1049


What are all the important protocols that load runner supports?

971


What are the three sections of a vuser script and what is the purpose of each one?

1034


In a web server, database and network are all working fine and now, where could be the problem?

1056


What are all the reasons to use the server resources monitor?

1043


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

1108


How to create a host list for a scenario?

1163