Salut à tous!
J'ai un pb dans un fichier texte. J'aimerais à l'aide d'un batch, effectuer un backspace d'une ligne a la suite de la précédente...Exemple...
"PRODUIT","0101"
"00911550150","4075001","TEST","SU","106-22-9","203-375-0","","","","","1"
"0","","",""
"00911550150","1360203","ESSAI","SU","112-31-2","203-957-4","","","","","1"
"0","","",""
"00911550150","1366501","TEST-ESSAI","SU","112-54-9","203-983-6","","","","","1"
"0","","",""
...
En sachant que je dois faire cet manip sur plusieurs fichiers différentes (nombre de lignes change sur chaque fichier) mais de structure identiques, c'est à dire que la premiere ligne sera toujours "PRODUIT","0101" et qu'il ne faut rien ajouter derriere. J'aimerais arriver à un résultat du type:
"PRODUCT","0101"
"00911550150","4075001","6-OCTEN-1-OL,3,7-DIMETHYL-","SU","106-22-9","203-375-0","","","","","1","0","","",""
"00911550150","1360203","DECANAL","SU","112-31-2","203-957-4","","","","","1","0","","",""
"00911550150","1366501","DODECANAL","SU","112-54-9","203-983-6","","","","","1","0","","",""
Il faut donc ajouter une "," a la fin de la ligne 1 et mettre a la suite la ligne 2...
J'ai testé plusieurs chose mais je suis bloqué... Pouvez m'aider ???......
Merci d'avance
Fab