Hello, mharlos!

m> [HKEY_CLASSES_ROOT\.doc]
m> @="Word.Document.8"

This means all the commands about .DOC files are described in section
Word.Document.8

m> [HKEY_CLASSES_ROOT\Word.Document.8\shell]
m> @="wordview"

This means the default command (which is marked bold on pop-up menu
and which is executed when the file is double-clicked) is "wordview"
(the command itself is described below)

[print stuff skipped]

m> [HKEY_CLASSES_ROOT\Word.Document.8\shell\open]
m> @="&Open"
m> "EditFlags"=hex:01,00,00,00

m> [HKEY_CLASSES_ROOT\Word.Document.8\shell\open\command]
m> @="\"C:\\Program Files\\Microsoft Office\\Office\\winword.exe\" /n"

[DDE stuff for open command skipped]

The Open command is associated with WinWord, not WordView.

[New command stuff skipped]

m> [HKEY_CLASSES_ROOT\Word.Document.8\shell\wordview]
m> @="Word&View"

m> [HKEY_CLASSES_ROOT\Word.Document.8\shell\wordview\command]
m> @="C:\\Program Files\\WordView\\wordview.exe \"%1\""

Here is your WordView command - it's a separate command on the pop-up
menu, and it is default.

m> [HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/msword]
m> "Extension"=".doc"

This means the files with Content-Type set to "application/msword"
should have .DOC extension by default.


So, your problem is as follows:

When a file is double-clicked in TB, TB performs Open command. Hence,
WinWord is fired up with your file.

When a file is double-clicked in Explorer, the Default command is
executed (WordView in your case).

Work-around: go to File Types dialog (in explorer), create a new
command "Open with Word" and copy all stuff from Open command to "Open
with Word" command (that is just create a copy of Open command -
AFAIR, explorer won't let you rename the Open command). Then associate
the Open command with WordView - that is copy all stuff from WordView
command into the corresponding fields of Open command.

Now the Open command will fire up WordView, and to open a file in Word
you'll have to use the command "Open with Word".

Oh, and don't forget to keep the files with exported parts of your
registry. Just double-click them to restore the system to the previous
state, in case if smth goes wrong...

HTH and Good luck...

A question to TBUDLers:

Should TB use the Default command (as configured on user's system)
when double-clicking a file, or should it just open the file (that is
always use the Open command)?

-- 
Best regards,
Andrew                            mailto:[EMAIL PROTECTED]

Using The Bat! 1.38e S/N E9230B5C
under Russian Windows 95 4.0 Build 1111  B

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

Reply via email to