Thank you, ghostmachine4.
I am definitely interested and will start learning it, it might take sometime.
Thanks for your help, maybe you can help me out if I am really stuck in the future.
Regards
Bob
Search found 6 matches
- 18 Oct 2010 00:48
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
- 17 Oct 2010 22:10
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
Re: add text string to a text file
Hello ghostmachine4, gawk seems so complicated , I don't know where to start, but I will give a try sometime. However thanks for showing me how to use the add string feature. I also use search and replace feature often, in both command line or from strings stored in a file. Here is some examples: rp...
- 17 Oct 2010 17:11
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
Re: add text string to a text file
aGerman, thank you so much!
- 17 Oct 2010 16:56
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
Re: add text string to a text file
Thanks aGerman.
Can you help with a small modification?
input:
TestA
TestB
TestC
call NUM.bat "###" File_IN > File_OUT
output:
###:TestA
###:TestB
###:TestC
call NUM.bat "###" File_IN /i > File_OUT
output:
###1:TestA
###2:TestB
###3:TestC
TIA
Regards
Bob
Can you help with a small modification?
input:
TestA
TestB
TestC
call NUM.bat "###" File_IN > File_OUT
output:
###:TestA
###:TestB
###:TestC
call NUM.bat "###" File_IN /i > File_OUT
output:
###1:TestA
###2:TestB
###3:TestC
TIA
Regards
Bob
- 17 Oct 2010 11:50
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
Re: add text string to a text file
Thanks !K & ghostmachine4.
Hi !K,
It works great. Is there any solutions for special characters such as &, it doesn't seem to work.
Regards
Bob
Hi !K,
It works great. Is there any solutions for special characters such as &, it doesn't seem to work.
Regards
Bob
- 17 Oct 2010 01:02
- Forum: DOS Batch Forum
- Topic: add text string to a text file
- Replies: 14
- Views: 11680
add text string to a text file
Hello, Hello, I found the following code from IVO ------------------------------------------------------------------------------------------------------ :: NUM.BAT Usage: NUM File_IN > File_OUT @echo off for /F "tokens=1* delims=[]" %%a in ('find /V /N "" ^< %*') do ( echo.%%a:%%...