Is there a tool to combine pgn files?

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Is there a tool to combine pgn files?

Postby Uri Blass » 26 Nov 2004, 12:32

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
User avatar
Uri Blass
 
Posts: 727
Joined: 09 Oct 2004, 05:59
Location: Tel-Aviv

Re: Is there a tool to combine pgn files?

Postby Richard Pijl » 26 Nov 2004, 12:48

In a console window type:
copy *.pgn target.pgn
Richard.
User avatar
Richard Pijl
 
Posts: 105
Joined: 26 Sep 2004, 21:09
Location: Minderhout, Belgium

Re: Is there a tool to combine pgn files?

Postby Ciro Vignotto » 26 Nov 2004, 12:51

Hello Uri,
I use a batch file like this:

COPY C:\*.pgn Group.pgn
exit

HTH, Ciro
Ciro Vignotto
 
Posts: 48
Joined: 26 Sep 2004, 19:45
Location: Italy

pgn's

Postby mike schoonover » 26 Nov 2004, 14:09

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
by the time i get there,i'll be there
mike schoonover
 
Posts: 154
Joined: 27 Sep 2004, 23:15
Location: st paul minnesota,usa

Re: Is there a tool to combine pgn files?

Postby Uri Blass » 26 Nov 2004, 14:18

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
User avatar
Uri Blass
 
Posts: 727
Joined: 09 Oct 2004, 05:59
Location: Tel-Aviv


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 13 guests