|
-
Jan 23rd, 2002, 02:16 AM
#1
Thread Starter
Junior Member
copying a removable disk when it is inserted
HI,
I want to know that how we can copy any removable disk into a folder in my hard disk when it is inserted. I mean any removable disk like floppy, CD etc.
Last edited by cancaries; Jan 23rd, 2002 at 08:31 PM.
Pranav
-
Jan 23rd, 2002, 03:11 PM
#2
Are you talking about CDs that you have made?
-
Jan 27th, 2002, 11:16 AM
#3
Junior Member
What the heck has that to do with removable media notification?
The only thing i can think of is trying to list the drive with a path control over and over. CD's would work fine, but the diskdrive will start purring like some fat cat.
-
Jan 27th, 2002, 12:21 PM
#4
This works, but as cyrillic said, it "starts purring" and in addition to that, it slows down the application's performance.
-
Jan 29th, 2002, 12:54 PM
#5
Member
you could always subclass your form and look for the
WM_DEVICECHANGE message with wParam of
WM_DEVICEARRIVAL this will tell you when a new
disc is inserted into the cdrom drive. However it won't
work for floppy drives because windows doesn't detect
when a disk is inserted into a floppy.
-
Jan 29th, 2002, 01:16 PM
#6
Junior Member
Cool, didn't know that. You can turn on autonotification for the A: drive with TweakUI.
-
Jan 30th, 2002, 02:27 AM
#7
Member
i'm pretty sure even if you turn on autonotification for the a: drive it will only run the autorun.inf file if you click on A:/ in the windows explorer window and still doesn't issue a windows message if a disk is entered.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|