[Batch] Replace text

Solved
valg38 Posted messages 1 Status Member -  
 Ritchie -
Bonjour,
Here is my problem: I have several text files in which I would like to replace one character with another. This character is always the same in all the text files.
For example: in my text file "defi100.txt" I have lines "Title.E", I would like to replace the "E" with "F" as well as in my files "defi101.txt, defi102.txt, etc..."
Can someone help me with a Batch command or another language (Batch would be fine for me).
Thank you
Configuration: Windows Vista Firefox 2.0.0.14

2 answers

Anonyme
 
Hello valg38; you want a batch script for Windows, I assume, and not for Linux?,

Information and help

Creating Batch Files - A tutorial on Batch files:
http://www.hotline-pc.org/batch.htm

Examples of scripts using the Batch language:
http://www.hotline-pc.org/batchscripts.htm

Shell/Batch - Programming - FORUM HardWare.fr:
Topic: 'replace a string in a file [batch dos]':
https://forum.hardware.fr/hfr/Programmation/Shell-Batch/rempacler-caractere-fichier-sujet_39287_1.htm

Topic: 'Replacing strings containing quotes':
Batch - Switch - Windows - OS, Software, Networks & Video Games - FORUM Matbe.com:
http://forum.matbe.com/materielbe/OSSoftwareReseauxJeuxvideos/Windows/batch-switch-remplacement-sujet_6587_1.htm

Thank you (Batch files for Linux will be useful to those who are interested; myself included: so thank you)
7
Ritchie
 
Thank you Yogul, exactly what I was looking for :)
0