Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: USB Drive Letter Assignment in Win32

by paulbort (Hermit)
on Jun 07, 2004 at 17:53 UTC ( #362056=note: print w/replies, xml ) Need Help??


in reply to USB Drive Letter Assignment in Win32

Second the use of a file to make finding the drive easier, but another option, if you're already using the Win32 API, would be to set a volume label on the USB drive. That's kind of what they're for.

--
Spring: Forces, Coiled Again!
  • Comment on Re: USB Drive Letter Assignment in Win32

Replies are listed 'Best First'.
Re^2: USB Drive Letter Assignment in Win32
by HamNRye (Monk) on Jun 07, 2004 at 19:14 UTC

    The Perl Deverlopment kit also runs $200, and that's a bit much to avoid learning Win32::Daemon or Srvany.

    Traveller, Srvany is embarassingly easy to use, so if you just need it running all the time and don't care to get Down and Dirty with Windows, it's the way to go.

    Win32::Daemon allows to to run a real service that will respond to starts and stops, configuration changes, etc, etc, etc.... Jenda also has a Win32::Daemon::Simple module. The only real drawback here is that there is extra coding to put in, and you start to understand the Windows internals, and how services act.

    It's my experience that the Roth module takes longer to get used to, as it wants you to rearrange your code, but in the long run it is more elegant than the "Simple" module. (As the term simple implies...)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://362056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2019-07-15 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?