CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11
  1. #1
    Join Date
    Apr 2005
    Posts
    42

    Question Writing files to CD.

    If a CD has to be written by taking the files from different folders, how it can be done?

  2. #2
    Join Date
    May 2004
    Location
    MN / NJ, United States
    Posts
    768

    Re: Writing files to CD.

    There is virtually no programming language can accomplish this. You'd need a CD burner for this ...
    *9-11-01* Never Forget; Never Forgive; Never Relent!
    "If we ever forget that we're one nation under God, then we will be a nation gone under." - Ronald Reagan

  3. #3
    Join Date
    Apr 2005
    Posts
    42

    Smile Re: Writing files to CD.

    No...I am using a Cd writing software here, just want to write a script that will take files from different folders and write them to CD using the CD writing software.

  4. #4
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Writing files to CD.

    Check ICDBurn interface in MSDN.
    this works in WinXP only..
    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

  5. #5
    Join Date
    Apr 2005
    Posts
    42

    Unhappy Re: Writing files to CD.

    This ICDBurn works fine with xp, but if a certain software has to written in cd, the developer must not have the compulsion of using winxp. So, is there any other software that is generic atleast for all versions of windows known? Help Needed !

  6. #6
    Join Date
    May 2002
    Posts
    10,943

    Re: Writing files to CD.

    Quote Originally Posted by SoftLock
    No...I am using a Cd writing software here, just want to write a script that will take files from different folders and write them to CD using the CD writing software.
    To me this just seems vague. Any software can burn a CD using files from various folders. Do you want this to just grab specific files? Do you want it to be hands free? I am confused.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  7. #7
    Join Date
    Apr 2005
    Posts
    42

    Unhappy Re: Writing files to CD.

    A CD is to be written by taking files from different folders. Not all the folder is to be copied to CD, only some files need to be written to CD. How it could be done?
    ICDBurn writes all the files in the sBurnFolder. I want only some files to be written from a folder.
    Last edited by SoftLock; July 15th, 2005 at 05:06 AM.

  8. #8
    Join Date
    May 2004
    Location
    MN / NJ, United States
    Posts
    768

    Re: Writing files to CD.

    If I could see any point, I would research this for you. However, since I don't know why this can't be done manually, since you are still being vague as aforementioned, I can't comprehend what you are really looking for.

  9. #9
    Join Date
    May 2002
    Posts
    10,943

    Re: Writing files to CD.

    Basically are you saying you want a CD without folders on it just files?????????
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  10. #10
    Join Date
    Apr 2005
    Posts
    42

    Unhappy Re: Writing files to CD.

    Let me explain the procedure by an example.

    There is a folder on harddisk namely "Files". It has 4 files
    file1, file2, file3, file4

    On cd1 file1 is to be written
    On cd2 file2 is to be written
    and so on....

    The above process is to be automated. Any CD Burner software can be used.

    Hope i am able to communicate the problem now..

  11. #11

    Re: Writing files to CD.

    Look at mkisofs on Unix or w/ Cygwin. It allows you to create an ISO from a given directory with all the assorted options. You can simply use whatever language you want to copy the files to a given folder (or set of folders), then run the mkisofs utility to create the iso. Then use whatever burning utility you want to make the CD.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured