PTBurn
SDK
Page
7
of
68
©
2011
Primera
Technology,
Inc.
Primera
is
a
registered
trademark
and
Bravo
is
a
trademark
of
Primera
Technology,
Inc.
All
other
trademarks
are
the
property
of
their
respective
companies.
e.g.
Data
=
C:\MyFolder1,
Session2
(This
tells
PTBurn
to
burn
the
contents
of
C:\MyFolder1
to
session
2
on
the
disc.
In
this
example,
there
must
also
be
an
AudioFile=
or
ImageFile=
entry
for
Session
1).
See
the
DataImageType
key
below
to
specify
burning
options
including
file
system.
The
only
way
the
Data
key
can
be
used
with
the
AudioFile
keys
or
the
ImageFile
key
is
if
the
SessionX
value
is
used.
The
Data
key
must
not
be
used
with
AudioFile
or
ImageFile
with
the
same
session
value.
For
added
flexibility
you
can
also
burn
data
from
a
source
location
and
change
the
destination
name
and/or
location
of
the
data
to
be
burned
onto
the
disc.
For
example,
you
can
copy
files
from
the
source
hard
drive
and
rename
them.
You
can
also
place
them
into
a
new
folder
on
the
disc.
Also,
you
can
copy
an
entire
source
folder
and
place
them
into
any
specified
destination
folder
on
the
disc.
The
format
for
this
is
as
follows:
Data
=
Source
Filename>\Destination
Filename
Or
Data
=
Source
Folder>\Destination
Folder
Note
the
destination
filename
and
folder
should
be
proceeded
by
a
“\”
to
denote
the
root
of
the
disc.
Examples:
Data
=
C:\MyFolder1\MyFile.txt>\YourFile.txt
This
will
burn
C:\MyFolder1\MyFile.txt
to
the
root
of
the
disc
and
change
the
name
to
YourFile.txt
Data
=
C:\MyFolder1\MyFile.txt>\YourFolder1\YourFile.txt
This
will
burn
C:\MyFolder1\MyFile.txt
as
YourFile.txt
into
a
folder
on
the
disc
called
YourFolder1
(note
YourFolder1
will
automatically
be
created
on
the
disc).
Data
=
C:\MyFolder1>\YourFolder1\YourFolder2
This
will
burn
the
entire
contents
of
C:\MyFolder1
into
a
new
folder
on
the
disc
called
YourFolder2
(which
is
created
as
a
subfolder
within
YourFolder1)
2.1.5
AudioFile
This
is
a
string
that
specifies
the
name
of
an
audio
file
to
burn.
You
can
optionally
specify
a
Pregap
value
(in
sectors)
of
the
track,
the
Session,
or
the
ISRC
code
for
the
disc.
So,
the
format
is
as
follows: