Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C language to submit a batch file.

Status
Not open for further replies.

emart

Programmer
Apr 26, 2000
11
0
0
US
<br>I have a C question.&nbsp;&nbsp;I've read many descriptions of the EXECL function but I don't get it!&nbsp;&nbsp;One book defines it this way:<br><br>execl(filename, arg0, [arg1, ...argn, NULL)<br><br>&nbsp;&nbsp;&nbsp;filename = string containing the name of program to execute.<br>&nbsp;&nbsp;&nbsp;arg0 = first string on the command line; normally the name of the program<br>&nbsp;&nbsp;&nbsp;arg1 = next string on the command line with a space in between each arg<br><br>Why are filename and arg0 the same thing.&nbsp;&nbsp;What is their functional difference?&nbsp;&nbsp;<br><br>Thanks for your help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top