call <batchFileName> param1 param2 param3 param4.....
A command line parameter is a variable/parameter after the executable file.What mean by command line parameters? Any example?
gedit notes.txt
I think he's looking at a previously written batch file.Trying to understand your example... Are you trying to create a program in C? (or some other programming language?) Also, do you understand what %MAKEDIR% is?
I agree with you. That's why I asked the TS if he understood what %MAKEDIR% is.I think he's looking at a previously written batch file. MAKEDIR is a variable that must have been declared and set previously, which is why I asked if there was more to the code.
Sorry, the second part of my post was more aimed at the OP, not at you. Let me add a line break to make it a bit clearer....I agree with you. That's why I asked the TS if he understood what %MAKEDIR% is.
YesSorry, the second part of my post was more aimed at the OP, not at you. Let me add a line break to make it a bit clearer....
I think he's looking at a previously written batch file.
MAKEDIR is a variable that must have been declared and set previously, which is why I asked if there was more to the code.
Nope, did not lead me astray at all. %MAKEDIR% is a variable (not a command), and I was asking where it was declared.There is a DOS command called makedir -- for make directory -- which I think let DerStrom8 a bit astray.
I was referring to the statement, "It appears that each parameter is going to be a directory that the user wants to create." What led you to this conclusion (out of curiosity)?Nope, did not lead me astray at all. %MAKEDIR% is a variable (not a command), and I was asking where it was declared.
It was a complete guess, to be honest. Judging by the name, I expected the program was going to be used for creating directories, and parameters containing locations would be the most obvious. I couldn't say for sure, though, without seeing the rest of the code (which the OP eventually posted).I was referring to the statement, "It appears that each parameter is going to be a directory that the user wants to create." What led you to this conclusion (out of curiosity)?
Makes sense when you're not familiar with the program "make".It was a complete guess, to be honest. Judging by the name, I expected the program was going to be used for creating directories, and parameters containing locations would be the most obvious. I couldn't say for sure, though, without seeing the rest of the code (which the OP eventually posted).
Which I am notMakes sense when you're not familiar with the program "make".