Search found 6 matches

by code
15 Jun 2015 15:22
Forum: DOS Batch Forum
Topic: compare text files and ..
Replies: 8
Views: 1767

Re: compare text files and ..

thanks to everyone , I try , good job Compo , Ben Mar , Foxi , very helpful for me
by code
12 Jun 2015 12:23
Forum: DOS Batch Forum
Topic: compare text files and ..
Replies: 8
Views: 1767

Re: compare text files and ..

I thank you very much for the help you give , seems work, I only added that in order to have the result in a file txt

type file2.txt|findstr /v /l /g:file1.txt >namefile.txt and the path of the file

thanks again for all
by code
11 Jun 2015 23:57
Forum: DOS Batch Forum
Topic: compare text files and ..
Replies: 8
Views: 1767

compare text files and ..

Good morning, I would need your help , I have to compare two files .txt (file1.txt file2.txt) both contain a list of ip but file 2.txt are the list ip updated and file1.txt is old list ip ...I want get a result in another file txt as a result ip missing in old file 1.txt , comand fc not work wel , b...
by code
01 Jun 2015 12:08
Forum: DOS Batch Forum
Topic: Add an IP address to the start of every line in a text file
Replies: 3
Views: 966

Re: please i need your aid

miskox Thank you very much , I love this language, if you have a good free book for beginners, you can send me the link ? thanks, I would like to learn
by code
01 Jun 2015 00:06
Forum: DOS Batch Forum
Topic: Add an IP address to the start of every line in a text file
Replies: 3
Views: 966

Re: please i need your aid

good morning this a worked @ECHO OFF SET "NomeFile_sorgente=file1.txt" SET "NomeFile_Destinazione=C:\Users\percorso\Documents\file2.txt" ECHO. > %NomeFile_Destinazione% FOR /F "delims=" %%a IN (%NomeFile_sorgente%) DO ECHO 127.0.0.1 %%a >> %NomeFile_Destinazione% PAUSE ...
by code
31 May 2015 15:31
Forum: DOS Batch Forum
Topic: Add an IP address to the start of every line in a text file
Replies: 3
Views: 966

Add an IP address to the start of every line in a text file

I take the occasion to greet you and thank you for your help ..forgive my English but I write from Italy I have a list of servers in a .txt file must modify it by adding thiss 127.0.0.1 before each server, including a space between 127.0.0.1 and the server name I would need to enter in a text file t...