There are several versions. I think version 4 is compatible with most windows versions in use today. The content is like this:
Code:
REGEDIT4
[<dir1>]
"<integer key name>"=dword:12345678
"<string key name>"="Something"
[<dir2>]
etc.
The value of a dword should be expressed by 8 hexadecimal numbers. A string value should always be put between double quotes. Note that the name of a key is also placed between double quotes.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Did you check out that article? You must have missed this...
It's backwards compatible. At least for version 4. As far as I know, version 4 can be used in Windows 9x and NT based, whereas version 5 is not supported by the former.
Last edited by D_Drmmr; August 3rd, 2005 at 03:40 PM.
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Here's the simplest way to create a registry script. Supposing the settings are already in your registry, from regedit right click the key you need and select the Export option. It will create the script file automatically. That's all.
I have tried many times to edit a .reg file that was created using Export... in regedit. I always ended up with a file that wouldn't import.
Here's the weird trick: when you export a file from regedit, it generates a Unicode file.
But when you edit that file, you have to save it as ASCII in order for it to import properly when you double-click it.
I have no idea why this is, but using this simple trick just enabled me to successfully edit and re-import a .reg file for the first time.
Good luck,
-Roy
Could someone please tell me the errors in these scripts and possibly a reference link for writing the proper script syntax for both of these registry tools?
Code:
Windows Registry Editor version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"IMJPMIG8.1"=-
and...
REGEDIT 4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"IMJPMIG8.1"=-
Open the register editor (regedit), and export the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key.
So you will see the proper format...
Thanx for the quick reply. Actually, I'm not as concerned about finding the errors in these as I am locating a site that would show me the proper syntax for editing registry entries with the registry tools listed. I'm in the process of training to be a malware technician for an online site and this was one of the questions that came up. The registry keys are rhetorical, of course. Just an example I need to research. I'm finding lots of references to this, but can't seem to find the errors.
For now, the registry is still like deciphering hieroglyphics to me. So finding info in an easy to understand format would be helpful. So if you have any references I can check, that would be wonderful. Not looking to be given the answers here, as that would teach me nothing. Just hoping to find some references I can research myself.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.