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 report viewer?

1186


What is the loadrunner start-transaction and its syntax?

1177


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

1109


What is parameterizion?

1217


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

1353


How are concurrent users differing from simultaneous users?

1131


What are the information contain by script windows for each script in the list?

1178


Which protocols are supported by loadrunner?

1017


How you load a loadrunner agent?

1195


What is the loadrunner end transaction and its syntax?

1186


What are monitors?

1115


How can we recording vuser scripts using vugen?

1181


What is the purpose of an extended log?

1333


What are different types of vuser logs which can be used while scripting and execution?

1084


What is protocol function?

1242