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 different sections of the script? In what sequence do these sections run?

1490


What is a correlation?

1195


What is rendezvous graph?

1131


What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?

1096


You want to have each step in your script measured as a transaction in the controller and not shown in the replay log in vugen. How can you accomplish this?

1085


What should be done to view parameter substitution in the execution log?

1052


How do you identify which values need to be correlated in the script? Give an example.

994


How to find get the Response time of the Online News Feeds (News headlines getting updated in every second with out any user intervention)using Load Runner ?

7265


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

1040


What is performance testing in loadrunner?

1017


What is the process for developing a vuser script?

1075


What is local configuration file?

1117


how to add 100 for dynamic(correlate value) value

1699


How is vugen script modified after recording?

1161


How can you test the global servers with using loadrunner

2863