Page 1 of 1

Is there a tool to combine pgn files?

PostPosted: 26 Nov 2004, 12:32
by Uri Blass
I copied some pgn files from the internet and put them in the same folder.
Now I want to combine all the games in that folder to a single pgn file
Is there a tool to do it?

Note that such tool can be relevant not only for pgn files and the tool
does not need to understand the syntext of the file but only to copy the content of the next file at the end of the last file after adding an empty line.

Uri

Re: Is there a tool to combine pgn files?

PostPosted: 26 Nov 2004, 12:48
by Richard Pijl
In a console window type:
copy *.pgn target.pgn
Richard.

Re: Is there a tool to combine pgn files?

PostPosted: 26 Nov 2004, 12:51
by Ciro Vignotto
Hello Uri,
I use a batch file like this:

COPY C:\*.pgn Group.pgn
exit

HTH, Ciro

pgn's

PostPosted: 26 Nov 2004, 14:09
by mike schoonover
hi uri,
sounds like *.pgn will combine all pgn's.
though i suppose with the right sytax you could be
more discrete.
i use aprogram called cchunk.
you can combine just the ones you want.
http://www.eusa.ed.ac.uk/societies/ches ... h/uti.html
there is some interesting here.
http://www.enpassant.dk/chess/softeng.htm

regards
mike

Re: Is there a tool to combine pgn files?

PostPosted: 26 Nov 2004, 14:18
by Uri Blass
Ciro Vignotto wrote:Hello Uri,
I use a batch file like this:

COPY C:\*.pgn Group.pgn
exit

HTH, Ciro


Thanks

More simple

I do not want to combine files in C but to combine files in the same folder and to do the Job I can use
COPY *.pgn Group.pgn
exit

Uri