tombern Posted April 26, 2005 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.
Lazycat Posted April 26, 2005 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])
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now