tombern 0 Posted April 26, 2005 Hi group I'm trying to create a script that reads the registry key located here HKLM\SYSTEM\CurrentControlSet\Enum\FDC\GENERIC_FLOPPY_DRIVE\, then I need to use that value to edit a key under HKLM\SYSTEM\CurrentControlSet\Enum\FDC\GENREIC_FLOPPY_DRIVE\(The key found earlier\ConfigFlags hope this made sense. Share this post Link to post Share on other sites
Lazycat 13 Posted April 26, 2005 (edited) Use RegEnumKey:$sKey = RegEnumKey("HKLM\SYSTEM\CurrentControlSet\Enum\FDC\GENERIC_FLOPPY_DRIVE\", 1) If not @error Then $sFlags = RegRead("HKLM\SYSTEM\CurrentControlSet\Enum\FDC\GENERIC_FLOPPY_DRIVE\" & $sKey, "ConfigFlags")Note that find first key under GENERIC_FLOPPY_DRIVE. You have change instance in RegEnumKey to find other keys. Edited April 26, 2005 by Lazycat Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s]) Share this post Link to post Share on other sites
tombern 0 Posted April 26, 2005 Excellent, thanks a million Share this post Link to post Share on other sites