Need to burn vcd on disks

i need to burn video files on the disk. as we create video cd from nero then it adds some more folders like VCD, EXT, BIN, SEGMENT, MPGAV. so i need a code in C++, or a command line exe which will add and burn these folders to the disk. i m using windows XP and language is C++. So can anybidy suggest me that how can i do it. Please help me.

Sanyog Tripathi