Can't use TextPad to edit .reg registry files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
chief87
Posts: 2
Joined: Mon May 01, 2006 7:14 pm

Can't use TextPad to edit .reg registry files

Post by chief87 »

Hi, I exported a registry section to a .reg file then fired up Textpad v4.7.3 to edit. I modified one line in the file and saved. The result is that windows does not recognize the format of the file and will fail to execute the file.
Cannot import <file>: The specified file is not a registry script.
You can only import binary registry files from within the registry editor.
Note: the file I start with (from Regedit) is Unicode and has the "Unicode Byte Ordering Mark". The file Textpad saves is also Unicode but is missing the 0xFF 0xFE as the "Unicode Byte Order Mark".

By comparison, notepad does write FF FE as the first two bytes in the file.

I'm using WinXP Pro SP2
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Select
Configure | Preferences | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or
View | Document Properties | Preferences | Write Unicode and UTF-8 BOM
.
chief87
Posts: 2
Joined: Mon May 01, 2006 7:14 pm

RE: Editing a registry file

Post by chief87 »

Thanks for the reply. Perhaps this should be added as a file class in the default configuration of Textpad?
Jiri
Posts: 3
Joined: Mon May 15, 2006 1:36 pm

Re: RE: Editing a registry file

Post by Jiri »

chief87 wrote:...Perhaps this should be added as a file class in the default configuration of Textpad?
that would be fine!!

i create for this reason a document class "winREG" with the member "*.reg"...
best regards, Jiri
________________________
„Zwei Dinge sind unendlich: Das Universum und die menschliche Dummheit... beim Universum bin ich mir noch nicht ganz sicher.“ (Albert Einstein)
Post Reply