Search found 3 matches
- 26 Oct 2020 06:37
- Forum: DOS Batch Forum
- Topic: Replacing "" by " in every line of a text file
- Replies: 6
- Views: 6723
Re: Replacing "" by " in every line of a text file
Wow, thank you for the answers everyone ! @dbenham i didn't think of that at all. I am in apprenticeship, and is the only "tech guy" on my field. The first output i gave with the " placed in a wrong position are given by a robot, but i can not access it / modify it. The file is then used by a progra...
- 23 Oct 2020 07:22
- Forum: DOS Batch Forum
- Topic: Replacing "" by " in every line of a text file
- Replies: 6
- Views: 6723
Re: Replacing "" by " in every line of a text file
Hello !
Thanks for your answer, but it doesn't work for me
I tried to implement it like this :
when echoing "iable", it looks like it is empty...
Thanks for your answer, but it doesn't work for me
I tried to implement it like this :
Code: Select all
setLocal EnableDelayedExpansion
for /f "delims=" %%a in ('type *.txt') do (
set var=%%a
set iable=%var:""="%
echo %iable%
)
- 23 Oct 2020 04:30
- Forum: DOS Batch Forum
- Topic: Replacing "" by " in every line of a text file
- Replies: 6
- Views: 6723
Replacing "" by " in every line of a text file
Hello ! I have this problem : I have a text file with lines that look like this : "300040082800016351540;01;EUR;310719; 84,67-;" "300040082800016351540;07;EUR;010819; 84,67-;" "300040082800016356293;01;EUR;310719; 261,83+;" "300040082800016356293;07;EUR;010819; 261,83+;" "300040082800016356390;01;EU...