Results 1 to 7 of 7

Thread: copying a removable disk when it is inserted

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2001
    Location
    delhi
    Posts
    22

    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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Are you talking about CDs that you have made?

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Posts
    26
    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.

  4. #4
    Megatron
    Guest
    This works, but as cyrillic said, it "starts purring" and in addition to that, it slows down the application's performance.

  5. #5
    Member
    Join Date
    Jan 2002
    Posts
    35
    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.

  6. #6
    Junior Member
    Join Date
    Sep 2001
    Posts
    26
    Cool, didn't know that. You can turn on autonotification for the A: drive with TweakUI.

  7. #7
    Member
    Join Date
    Jan 2002
    Posts
    35
    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
  •  



Click Here to Expand Forum to Full Width