I would like to know what the script is like to read all the files in a folder and put all the lines together (copy them) into a new file and at the beginning of each line the name of the separate source file appears with a space of the content of the line, example:
archivo1 Hola este es un ejemplo
archivo1 de lo que necesito
archivo2 no puedo usar scripts dificiles
archivo3 ni complicados, ya que no me han enseñado nada dificil en particular
archivo4 ediubewfpqgf9834gr2930r
archivo5 no sé hacerlo, gracias