Really need "Version 5.00" on first line

  • Thread starter Thread starter Will
  • Start date Start date
W

Will

Do I really need to put "Windows Registry Editor Version 5.00"
(without quotes) on first line of a reg file?

Recently I downloaded and ran a reg file which started with
"REGEDIT4" (without quotes). My XP+SP1 system replied to say the
changes had been applied.

Does this mean that having "Windows Registry Editor Version 5.00" is
not strictly necessary and that having "REGEDIT4" is sufficient?
 
You don't insert the heading regedit.exe does when you export as a *.reg
file.

The message, [[changes had been applied]] means that the *.reg file was
merged into your registry. Where did you get the edit? What was it?

Regedit will export with a REGEDIT4 heading if you select Win9x/NT4
Registration Files under Save as type. Normally the Windows Registry Editor
Version 5.00 heading is used.

XP comes with Windows Registry Editor Version 5.00. More accurately
5.1.2600.1106. Microsoft Windows XP Service Pack 2 includes REGEDIT.EXE
ver. 5.1.2600.2180.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Will said:
Do I really need to put "Windows Registry Editor Version 5.00"
(without quotes) on first line of a reg file?

Recently I downloaded and ran a reg file which started with
"REGEDIT4" (without quotes). My XP+SP1 system replied to say the
changes had been applied.

Does this mean that having "Windows Registry Editor Version 5.00" is
not strictly necessary and that having "REGEDIT4" is sufficient?

apparently!

:-))
george
 
"REGEDIT4" files are ANSI

"Windows Registry Editor Version 5.00" files are Unicode.

Not sure if swapping them around will screw it up...

Give it a try and let us know :)

Keith
 
Do I really need to put "Windows Registry Editor Version 5.00"
(without quotes) on first line of a reg file?

Recently I downloaded and ran a reg file which started with
"REGEDIT4" (without quotes). My XP+SP1 system replied to say the
changes had been applied.

Does this mean that having "Windows Registry Editor Version 5.00" is
not strictly necessary and that having "REGEDIT4" is sufficient?

The first line identifies the minimum version of regedit that can
accept it. The file you downloaded didn't use any of the latest
REGEDIT features, so it would work under REGEDIT4 (which IRC was
Win98). If you use the latest features n a registry patch you need
to identify it as such, both so that XP regedit knows it's okay and
so that earlier OSes won't try to apply it and hose the registry.
 
Back
Top