Home All Groups Group Topic Archive Search About

Force Windows to "See" new files burned to a CD/DVD?

Author
20 Jul 2006 2:44 PM
zacks
I use some shareware CD/DVD burning software that has a command line
interface version. This allowed me to write my own custom SDK that
performs various CD/DVD burning operations from my own VB.NET
applications.

Recently, I had some problems reading DVDs that I had recently burned,
reading them with the same DVD device that burned them. So I wrote a
quickie verification program that simply attempts to binary read all
files on the disk.

I would like to be able to optionally call this utility from a VB app
just after the VB app has burned a disk instead of running it manually.
But when I try to, it says there are no files on the disk, even though
the burn just successfully finished!

I found that even Windows doesn't see the newly burned files unless I
eject the tray and re-insert the disk. So, I tried ejecting the tray in
the VB code after the burn and before cranking up the verify program,
but the verify program STILL sees no files!!

How do I "force" windows to realize that there are indeed files on the
DVD disk?

Author
20 Jul 2006 11:34 PM
Kevin
I don't think this is possible. I suspect it's a problem with your
media. I had the same problem when burning files to some old cheap
DVDs. NERO said the burn completed successfully and I went ahead and
deleted the files from my hard drive. Needless to say, I'll never see
those files again. I tried burning the same compliation twice and it
worked on some of the DVDs. The others I just had to throw away.

Your DVD burner is what sends the data to Windows, so if the drive
can't read the disk, there's really no way to force it if the files
just aren't there.


On 20 Jul 2006 07:44:09 -0700, za***@construction-imaging.com wrote:

Show quoteHide quote
>I use some shareware CD/DVD burning software that has a command line
>interface version. This allowed me to write my own custom SDK that
>performs various CD/DVD burning operations from my own VB.NET
>applications.
>
>Recently, I had some problems reading DVDs that I had recently burned,
>reading them with the same DVD device that burned them. So I wrote a
>quickie verification program that simply attempts to binary read all
>files on the disk.
>
>I would like to be able to optionally call this utility from a VB app
>just after the VB app has burned a disk instead of running it manually.
>But when I try to, it says there are no files on the disk, even though
>the burn just successfully finished!
>
>I found that even Windows doesn't see the newly burned files unless I
>eject the tray and re-insert the disk. So, I tried ejecting the tray in
>the VB code after the burn and before cranking up the verify program,
>but the verify program STILL sees no files!!
>
>How do I "force" windows to realize that there are indeed files on the
>DVD disk?
Author
21 Jul 2006 12:39 PM
zacks
Kevin wrote:
> I don't think this is possible. I suspect it's a problem with your
> media. I had the same problem when burning files to some old cheap
> DVDs. NERO said the burn completed successfully and I went ahead and
> deleted the files from my hard drive. Needless to say, I'll never see
> those files again. I tried burning the same compliation twice and it
> worked on some of the DVDs. The others I just had to throw away.
>
> Your DVD burner is what sends the data to Windows, so if the drive
> can't read the disk, there's really no way to force it if the files
> just aren't there.

Sounds like you slihtly misunderstood my question. Most burns are OK,
and I also suspect some cheap media. But having been burned once, I now
veify each disk I burn.

And for Windows to see that there are now files on the newly burned
disk, all I have to do a manually eject the tray and re-insert it.
Windows re-reads the MFD and now sees files. I would like to automate
that process. Ejecting the tray in code and manually re-inserting it
does not solve the problem. (And still leaves a manual operation which
is what I am trying to avoid.)

Show quoteHide quote
>
>
> On 20 Jul 2006 07:44:09 -0700, za***@construction-imaging.com wrote:
>
> >I use some shareware CD/DVD burning software that has a command line
> >interface version. This allowed me to write my own custom SDK that
> >performs various CD/DVD burning operations from my own VB.NET
> >applications.
> >
> >Recently, I had some problems reading DVDs that I had recently burned,
> >reading them with the same DVD device that burned them. So I wrote a
> >quickie verification program that simply attempts to binary read all
> >files on the disk.
> >
> >I would like to be able to optionally call this utility from a VB app
> >just after the VB app has burned a disk instead of running it manually.
> >But when I try to, it says there are no files on the disk, even though
> >the burn just successfully finished!
> >
> >I found that even Windows doesn't see the newly burned files unless I
> >eject the tray and re-insert the disk. So, I tried ejecting the tray in
> >the VB code after the burn and before cranking up the verify program,
> >but the verify program STILL sees no files!!
> >
> >How do I "force" windows to realize that there are indeed files on the
> >DVD disk?