Hello everyone,
I have a folder that contains 2800 text files. Each text file has 3 columns. I would like to be able to join all these text files in a single JMP file (by performing a join by line number), this JMP file would therefore have 2800*3 columns.
Remarks :
Before joining all the files, it would be necessary to add titles to the columns of each file.
Title column 1: x-filename
Title column 2: y-filename
Title column 3: filename-value
With “nomdufichier” which corresponds to the name of the file being opened.
I manage to retrieve the name of the folder and all the names of the text files to open in this folder with the following code:
// Chemin du répertoire contenant les fichiers textes
chemin_du_repertoire = "chemin\du\dossier";
// Parcourir le répertoire et obtenir les noms des fichiers
noms_fichier = Files In Directory(chemin_du_repertoire, "\*.txt");
But then I have no starting point for the rest.
Thanks for your help and answers!