My Contributions:Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time.RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.

Share this post

Link to post

Share on other sites

Realm 17

I am not sure I understand what your attempting to do. Assuming I have read your last post correctly, it appears you want to find the registry value, then write out to a file and have it appear as you have written it in the code box. If this is correct this might point you into a better direction:

$regAddress='HKEY_CURRENT_USER\Control Panel\Desktop'$regKey='Wallpaper'$regPath=RegRead($regAddress,$regKey)$file=FileOpen(@DesktopDir&'\wallpaper.reg',1);1 will append end of file. Change to 2 if you want file overwritten.FileWrite($file,'Windows Registry Editor Version 5.00'&@CRLF&@CRLF_&'['&$regAddress&']'&@CRLF_&'"'&$regKey&'"="'&$regPath&'"')FileClose($file)

Realm

My Contributions:Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time.RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.