About operating the registry, I would like to say:
1. Obviously, we need to rely on (reference) Wscript.Shell.
2. The end of the path is with the "\" ending, for example, "HKCU\....\Thing\" means this is a key; if there is no "\", such as "HKCU\....\Thing", then it means this is a value (value and data are not the same concept)
3. For write operations, you can freely extend after a key in (on the path), without worrying about whether the key or value itself exists; if it does not exist, then it is "added all the way", and if it exists, then it is modified. All Right?!
4. If you want to delete a value, then Wscript.Shell.Regdelete "HKCU\....\Thing";
If you want to clear the data of that value, then Wscript.Shell.Regwrite "HKCU\....\Thing", "".
[ Last edited by Billunique on 2007-6-14 at 04:35 PM ]
★①②③④⑤⑥⑦⑧⑨⑩㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ【●】→←↑↓▲