Windows Scripting
  Home arrow Windows Scripting arrow Burning Multisession CDs with IMAPI2 in WS...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

Burning Multisession CDs with IMAPI2 in WSH
By: Nilpo
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2008-11-10

    Table of Contents:
  • Burning Multisession CDs with IMAPI2 in WSH
  • Getting started
  • Building the burn image
  • Adding files and burning the image
  • Final thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Burning Multisession CDs with IMAPI2 in WSH


    (Page 1 of 5 )

    In my last article, I showed you how you can use the Microsoft’s Image Mastering API (IMAPI2) control to create and burn single session CDs from a directory of files. Today, we’re going to take another look at the IMAPI2 control to create multisession CDs.

    Traditional CD formats such as audio CDs and standard data CDs (like photo CDs, for example) are single session discs.  In other words, all of the information on the CD is written to the CD at one time in a single burning session.  Once completed, the disc is closed and its contents cannot be changed.

    With the evolution of CD-Rewritable technology, things changed a bit.  Because you were now able to write and rewrite to the same disc, support was added that allowed a person to write to the same disc again in a new session, thus appending data to a disc that had already been written.  In other words, you could write data to the same disc across multiple sessions.

    Of course, you would need a supporting drive to write the disc and you would also need a supporting drive to read it again.  However, almost all CD-RW capable drives are capable of reading and writing multisession discs.  That means that virtually every device currently on the market is capable.

    In order to burn a multisession disc, each session must write its own lead-in and lead-out section on the disc.  The first session will require around 20MB of space to accomplish this and each subsequent session will need a little over 4MB or so.  This makes multisession discs slightly less efficient than single session.

    This additional space is used to write information about the session, such as where the data starts, and how it fits into the disc's existing file system.  The lead-in section of the first session is slightly larger than the rest because it includes a Table Of Contents.  This TOC can be compared to a partition table on a hard drive.  It tells the CD-ROM what type of file system is in use and where the data resides on the disc.

    More Windows Scripting Articles
    More By Nilpo


     

    WINDOWS SCRIPTING ARTICLES

    - Working With Arrays in VBScript
    - Compressed Folders in WSH
    - Using .NET Interops in VBScript
    - Nilpo`s Scripting Secrets, Vol I
    - Database operations using Silverlight 2.0 WC...
    - Modifying XML Files in WSH
    - Reading XML Files in WSH
    - Visual Basic 2005 XML Programming Using XML ...
    - Creating an XML Document in WSH
    - Introducing Two-Way Data Binding using Silve...
    - Silverlight 2.0 Application Development with...
    - Burning Multisession CDs with IMAPI2 in WSH
    - Creating a Silverlight 2.0 Application that ...
    - Burning CDs with the IMAPI2 Control
    - Burning CDs in Windows XP with WSH

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT