- echo contents of a log file into another file inside the batch file? howto?
- Posted by markm75 on October 15th, 2007
i'm trying a simple dos batch file command to get the contents of a
log file in another file..
I have a bunch of echo statements using this format:
echo "test" >> message.msg
then
echo "d:\log.log" >> message.msg
but rather than tacking on the contents of the log file.. it simply
puts "d:\log.log" in the message.msg file..
Is there a way to make this work?
Thanks in advance..
- Posted by sKurt on October 15th, 2007
markm75 wrote:
@TYPE D:\LOG.LOG >>MESSAGE.MSG
--
- Posted by markm75 on October 16th, 2007
On Oct 14, 11:48 pm, "sKurt" <sK...@REMOVE.inbox.com> wrote:
That was the ticket.. thanks!
- Posted by sKurt on October 16th, 2007
markm75 wrote:
I get so much from here it's nice to give...
sKurt
--
Similar Posts
- batch file to echo a dummy prompt (MS-DOS) by Hufnus
- Echo blank line from batch file (MS-DOS) by esokol@cerner.com
- How to echo exactly one line in a batch file ?? (MS-DOS) by Tom Miller
- How to echo exactly one line in a batch file ?? (MS-DOS) by Tom Miller
- Need a batch file (XP) withs copie all file to a backup (HD) drive (also overwrite the old file and maps) (MS-DOS) by Carmen

