Search found 6 matches
- 08 Sep 2014 10:34
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Re: Replacing a "|" in an ordinary text file
Sorry for my late answer - I was the weekend at home and had no access to the PC I'm working on the batch. Now I've added this line at the position in the script: echo(>>"%filename%" However, the batch file still removes all additional CR's. The source is a text generated by notepad.exe. I...
- 05 Sep 2014 02:40
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Re: Replacing a "|" in an ordinary text file
Thank you again & again for spending your time with me I have directly taken your batch script and exchanged only the characters to the German special ones. This is the script I'm currently using: ==================================================== @echo off setlocal enabledelayedexpansion set ...
- 04 Sep 2014 11:31
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Re: Replacing a "|" in an ordinary text file
Thank you again for your patience with a medical doctor who tries to improve his daily workflow I have now copied your modified script, changed the chars to the German special letters and started the batch... it hangs. The file tmptxt.txt is generated, but the size is "0". What might be th...
- 03 Sep 2014 04:16
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Re: Replacing a "|" in an ordinary text file
Sorry for communicating a second problem with the batch file listed above by me... I just realized that this batch script is removing all 'multiple carriage returns' from my processed text. For example I start with this text phrase: Entnahmen Wir My batch script transfers this to Entnahmen Wir If I ...
- 03 Sep 2014 02:19
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Re: Replacing a "|" in an ordinary text file
Thank you for your help! Your batch is now running without producing an error message - however, the script does not exchange the German special characters by the required chars... The only way I currently found is to add this line set text=!text:^ö="|"! Unfortunately, this is switching (f...
- 02 Sep 2014 06:41
- Forum: DOS Batch Forum
- Topic: Replacing a "|" in an ordinary text file
- Replies: 13
- Views: 9761
Replacing a "|" in an ordinary text file
Hallo, I'm permanently working with a terminal console on a very very old Unix DB system. If I want to paste texts directly in the terminal application I have to replace the German special characters by different chars. This is the 'translation table': [ = Ä ] = Ü { = ä } = ü \ = Ö ~ = ß | = ö Curre...