rbc has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.
  • Comment on Perventing eject of zip disk on windows

Replies are listed 'Best First'.
Re: Perventing eject of zip disk on windows
by svad (Pilgrim) on Apr 25, 2002 at 19:14 UTC
    You probably should use special function described in Win32-SDK help files.
    Most probably function in interest is DeviceIoControl. I see some words about locking a volume here, like FSCTL_LOCK_VOLUME.
    You can use those functions via Win32::API module.

    Best wishes,
    Vadim.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Perventing eject of zip disk on windows
by Fletch (Bishop) on Apr 25, 2002 at 17:44 UTC

    Try placing duct tape over the media slot.