I'm trying to write a program that accepts user input to find a particular file and perform a particular action. I can't seem to make it so that the user in Windows CMD can type multiple lines, like in a text file, rather than just one line at a time. I'd like to use readLine() or some equivalent after the user enters the information to read and disperse the various components, but i don't know if that's possible. This is the format of user input i need from the command prompt.
additional optional data(could be any length)
the blank line is an actual blank line. any help would be much appreciated.