metalgarth
New member
- Joined
- Aug 18, 2004
- Messages
- 1
- Programming Experience
- 3-5
Hello,
I have succesfully written a small application that runs. How do I incorporate command line parameters? The application takes the name of a data file (hard coded) and parses it into parameters for an sql INSERT command. What I want is for the user to enter the name of the program at a DOS prompt followed by the name of the file. example: parser "filename.txt"
What steps do I need to follow to accomidate this????
I have succesfully written a small application that runs. How do I incorporate command line parameters? The application takes the name of a data file (hard coded) and parses it into parameters for an sql INSERT command. What I want is for the user to enter the name of the program at a DOS prompt followed by the name of the file. example: parser "filename.txt"
What steps do I need to follow to accomidate this????