in reply to Re: Find device letter
in thread Find device letter

FYI, it is a bit easier to use the SetErrorMode() that is provided more directly via Win32API::File (a module that is even "core").

use Win32API::File qw< SetErrorMode SEM_FAILCRITICALERRORS >; SetErrorMode( SEM_FAILCRITICALERRORS() | SetErrorMode(0) );

- tye