- Open .RTF files in a new window
- Posted by Greg on May 6th, 2008
Hi,
I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.
Any help would be appreciated.
Kind Regards
Greg
- Posted by Ramesh, MS-MVP on May 6th, 2008
Hi Greg,
Click Start, Run and type:
cmd /k assoc .rtf
Copy the output and post here.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog
"Greg" <Greg@discussions.microsoft.com> wrote in message news:B257993E-2B20-483F-8838-54AB1C6497C0@microsoft.com...
Hi,
I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.
Any help would be appreciated.
Kind Regards
Greg
- Posted by Greg on May 6th, 2008
..rtf=Word.RTF.8
This is where I inserted the browserflags setting.
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Greg on May 6th, 2008
On another note, are you able to provide me with the details of the
browserflags setting and the editflags options available? I haven't been able
to find any information on these two configurations.
Thanks
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Ramesh, MS-MVP on May 7th, 2008
EditFlags - FILETYPEATTRIBUTEFLAGS:
http://msdn.microsoft.com/en-us/libr...06(VS.85).aspx
I don't think there is any such documentation for BrowserFlags.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog
"Greg" <Greg@discussions.microsoft.com> wrote in message news:5ACB3AA1-486C-4139-B221-034A0BED3B14@microsoft.com...
On another note, are you able to provide me with the details of the
browserflags setting and the editflags options available? I haven't been able
to find any information on these two configurations.
Thanks
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Ramesh, MS-MVP on May 7th, 2008
If you're using Office 2007, the BrowserFlags needs a different Value Data. See http://support.microsoft.com/kb/927009
If that does not help, post the file association data for .RTF so that I can try to replicate the problem at my end.
1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm
2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select [.RTF] from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog
"Greg" <Greg@discussions.microsoft.com> wrote in message news:E2F1DD00-7AAD-4135-B629-F98F2DDD8A9D@microsoft.com...
..rtf=Word.RTF.8
This is where I inserted the browserflags setting.
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Greg on May 7th, 2008
Hi Ramesh,
I am not at the computer in question but I will look at it first thing in
the morning.
BTW, it is Office 2000 that is being used. As a point of reference, should I
be able to apply the browserflags value at the Word.RTF.8 registry key?
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Ramesh, MS-MVP on May 7th, 2008
Greg,
Yes. That should work according to the docs. If I get a detailed file association report, I think I can track where the problem lies.
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog
"Greg" <Greg@discussions.microsoft.com> wrote in message news:9F19CE7C-2AEE-4FD2-84FB-E4A59AE0F2B9@microsoft.com...
Hi Ramesh,
I am not at the computer in question but I will look at it first thing in
the morning.
BTW, it is Office 2000 that is being used. As a point of reference, should I
be able to apply the browserflags value at the Word.RTF.8 registry key?
Greg
"Ramesh, MS-MVP" wrote:
- Posted by Greg on May 7th, 2008
Here is the output Ramesh:
HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Ap plication]
@="WinWord"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\To pic]
@="System"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print]
@="&Print"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\command]
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /x /n"
"command"=hex(7):33,00,40,00,36,00,21,00,21,00,67, 00,78,00,73,00,66,00,28,00,\
4e,00,67,00,5d,00,71,00,46,00,60,00,48,00,7b,00,4c ,00,73,00,57,00,4f,00,52,\
00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,6c,00 ,6c,00,54,00,5d,00,6a,00,\
49,00,7b,00,6a,00,66,00,28,00,3d,00,31,00,26,00,4c ,00,5b,00,2d,00,38,00,31,\
00,2d,00,5d,00,20,00,2f,00,78,00,20,00,2f,00,6e,00 ,00,00,00,00
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec]
@="[REM _DDE_Minimize][FileOpen(\"%1\")][t=IsDocumentDirty()][FilePrint
0][SetDocumentDirty t][DocClose]"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\A pplication]
@="WinWord"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\i fexec]
@="[FileOpen(\"%1\")][FilePrint 0][FileExit 2]"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\T opic]
@="System"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto]
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\command ]
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /n"
"command"=hex(7):33,00,40,00,36,00,21,00,21,00,67, 00,78,00,73,00,66,00,28,00,\
4e,00,67,00,5d,00,71,00,46,00,60,00,48,00,7b,00,4c ,00,73,00,57,00,4f,00,52,\
00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,6c,00 ,6c,00,54,00,5d,00,6a,00,\
49,00,7b,00,6a,00,66,00,28,00,3d,00,31,00,26,00,4c ,00,5b,00,2d,00,38,00,31,\
00,2d,00,5d,00,20,00,2f,00,6e,00,00,00,00,00
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec ]
@="[REM _DDE_Minimize][FileOpen(\"%1\")][FilePrintSetup \"%2 on
p\",.DoNotSetAsSysDefault=1][FilePrint 0][DocClose 2][FilePrintSetup \"\"]"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec \Application]
@="WinWord"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec \ifexec]
@="[FileOpen(\"%1\")][FilePrintSetup \"%2 on
p\",.DoNotSetAsSysDefault=1][FilePrint 0][FileExit 2]"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec \Topic]
@="System"
[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\Defa ultIcon]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00 ,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00 ,6f,00,77,00,73,00,20,00,\
4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73 ,00,6f,00,72,00,69,00,65,\
00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00 ,44,00,2e,00,45,00,58,00,\
45,00,22,00,2c,00,31,00,00,00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shel l]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shel l\open]
[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shel l\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00 ,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00 ,6f,00,77,00,73,00,20,00,\
4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73 ,00,6f,00,72,00,69,00,65,\
00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00 ,44,00,2e,00,45,00,58,00,\
45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts\.RTF]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts\.RTF\OpenWithList]
"a"="WINWORD.EXE"
"MRUList"="adcb"
"b"="IEXPLORE.EXE"
"c"="WORDPAD.EXE"
"d"="NOTEPAD.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts\.RTF\OpenWithProgids]
"rtffile"=hex(0):
"Word.RTF.8"=hex(0):
"Ramesh, MS-MVP" wrote:
- Posted by Ramesh, MS-MVP on May 16th, 2008
Greg,
Will install Office 2000 this week and test it. Meantime, can you report a complete log? The one posted earlier is missing some file class information, such as:.
HKEY_CLASSES_ROOT\.RTF
HKEY_CLASSES_ROOT\Word.RTF.8
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com
"Greg" <Greg@discussions.microsoft.com> wrote in message news:B303659F-4F9B-43A8-934E-3D7D26E7CF07@microsoft.com...
Here is the output Ramesh:
HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Ap plication]
@="WinWord"
[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\To pic]
@="System"
- how to open excel files under one window... (Home and office) by driller
- Internally-linked HTML files open in new window from temp directory without proper formatting (Help and Support) by TheMadRussian@gmail.com
- [Q] Folder OPEN always opens in a new window even though I have it set as open in same window.... (Microsoft Windows) by Donovan J. Edye
- How to open multiple HTML files under the same IE window (Computers & Technology) by Emil Lam
- How to disable the Window close 'X' button in any open window (Windows 2000) by Amit

