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!

DOS Applications and Parameters

Status
Not open for further replies.

beredon

Programmer
Jan 5, 2001
17
0
0
AU
Sorry, but I can't find a more DOS-related forum.

Does anyone know if there is a limit to the number of parameters a DOS application can accept? Ignoring constraints from different programming languages, etc. Is there a limit at all?

I'd like to just know if it is limitless, or if there is an actual maximum number of arguments a DOS program, or DOS itself, will parse to the application.
 
I'm not sure if there's a hard limit on the number of parameters you can use, but you DO have to worry about the length of the command line. Once you've reached that limit, you're done. I believe the command line is limited to 256 characters unless you configure DOS differently.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top