Search found 3 matches

by virad
16 Apr 2014 00:00
Forum: DOS Batch Forum
Topic: Adding a line from one text file to another text file
Replies: 4
Views: 1746

Re: Adding a line from one text file to another text file

It worked!!! @echo off for /f "usebackq delims=" %%a in (ab.txt) do ( >>"b.txt" echo %%a timeout /t 2 /nobreak ) I took out the "" in ("a.txt") so that the file was (a.txt). Also, I renamed my file to 'a' instead of 'a.txt' I don't see the difference but I gue...
by virad
15 Apr 2014 21:57
Forum: DOS Batch Forum
Topic: Adding a line from one text file to another text file
Replies: 4
Views: 1746

Re: Adding a line from one text file to another text file

Hey foxdrive,

The system cannot find the file a.txt.

That's what I keep getting. I tried changing the directory and changing the name file. The file is there in the same folder, I don't understand why it can't 'find' it.
by virad
15 Apr 2014 13:49
Forum: DOS Batch Forum
Topic: Adding a line from one text file to another text file
Replies: 4
Views: 1746

Adding a line from one text file to another text file

Hey guys, I'm doing a project and the program I'm trying to use only reads the last line of the latest updated file . So I have a two text files, a.txt and b.txt a.txt has bunch of numbers 11 123 22 33 b.txt as well 44 99 4321 11 I'm trying to make a batch file to add the lines of a.txt to b.txt ONE...