Adding Registry keys with VBS.
Posted on 2005-04-12
I need to add a registry key and a few strings under it under the HKEY_CURRENT_USER\Software\ section
i need to add a value in there called name but have it query active directory or use a environment lookup to look at the person that is logged in and grab the full name and insert it in this key
Also the same the the extension number. Which i have also store in active direcotory.
I have 1 key that is a path..which will be c:\documents and settings\current user? ( im not really user what i can use for the vbs script to use the current users profile path here?
can anyone tell me how i can use a vbs script to add registry keys and use these lookups?