REGEDIT
; This .REG file may be used by your SETUP program.
;   If a SETUP program is not available, the entries below will be
;   registered in your InitInstance automatically with a call to
;   CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.

HKEY_CLASSES_ROOT\.P4W = P4win.Document
HKEY_CLASSES_ROOT\P4win.Document\shell\open\command = P4WIN.EXE %1
HKEY_CLASSES_ROOT\P4win.Document\shell\open\ddeexec = [open("%1")]
HKEY_CLASSES_ROOT\P4win.Document\shell\open\ddeexec\application = P4WIN
    ; note: the application is optional
    ;  (it defaults to the app name in "command")

HKEY_CLASSES_ROOT\P4win.Document = P4win Document