Finding USB volumes on Win

Richard Gaskin ambassador at fourthworld.com
Mon Mar 22 11:53:53 EDT 2010


Another snag:

The key I need is named "\DosDevices\G:", at this path:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices

So it would seem that if I escape the backslashes in the key name I'd be 
good:

  get 
queryRegistry("HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\\\DosDevices\\F:")

But no go.

I've tried many different combinations of escapes, and no escapes at 
all, and no matter what I try the result says, "bad key" and the data 
returned is empty.

Any clues?

TIA -

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list