@echo offset str1=this is LINE 1set str2=this is line 2rem how to write FOLLOWING code???set STR3= ??echo %str3%pausethe result is:this is line1this is line2Code: [Select]@echo offset str1=this is line 1set str2=this is line 2echo %str1% && echo %str2%By concatenating the two echo commands, you effectively insert the carriage RETURN line feed characters.thank you very much!
Your experience on this site will be improved by allowing cookies. Read Cookie Policy