Source Directory

This topic explains how to create the source directory for the BD, DVD, and CD burning samples from the Using DataDisc section.

For demo purposes, we will use a few video files from the Internet Archive. The reason for choosing those files is that they are not too small, and not too large, just the right size for demoing most of the DataDisc functionality.


You can follow these steps to manually create the source directory on Windows:

  1. Create a DataDisc subdirectory in your your home directory. On Windows your home directory is typically located at C:\Users\<yourusername>.
  2. In DataDisc, create 4 additional directories: Elephant, Hippo, Leopard, and Lion.
  3. Download Elephant.ogv from the Internet Archive and save it in Elephant.
  4. Download Hippo.ogv from the Internet Archive and save it in Hippo.
  5. Download Leopard.ogv from the Internet Archive and save it in Leopard.
  6. Download the Lion.ogv from the Internet Archive and save it in Lion.

Alternatively, you can create the source directory by executing these scripts in PowerShell (requires PowerShell 3.0):

Ensure Get-ExecutionPolicy is at least RemoteSigned:

start powershell -Verb runAs -ArgumentList "Set-ExecutionPolicy RemoteSigned -Force"

Create the DataDisc directory and download all files:

cd ~
mkdir DataDisc
foreach ($name in "Elephant", "Hippo", "Leopard", "Lion") {
    mkdir DataDisc/$name
    wget$name.ogv `
            -UseBasicParsing `
            -OutFile $pwd/DataDisc/$name/$name.ogv

To verify the file structure, run:

tree DataDisc /F /A

The output from the tree commend should look like this one:

Folder PATH listing for volume ABC
Volume serial number is 1234-5678
|       Elephant.ogv
|       Hippo.ogv
|       Leopard.ogv

Last updated on December 1st, 2015 12:00:00 AM