I need to pass a formatted string in a command line so that the input text is presented formatted in a JFrame:
Hello
The sun is shinning!
How do I put a '\n' in a Windows batch file?
java -cp . Test "Hello\nThe sun is shinning!"
I cannot change the program, it is expecting a string as a command line parameter to be shown in a TextBox, and I want to pass multiple lines.
Thanks