From 055a4866c39a016dcfbdb775eddef6f5fa2ba365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sat, 22 Mar 2014 21:07:28 +0000 Subject: [PATCH] [SHELL] Allow opening .COM executables from the (explorer) shell, outside cmd.exe. Patch by Lee Schroeder. CORE-8009 #resolve #comment Fixed in revision 62546. Thanks :D svn path=/trunk/; revision=62546 --- reactos/boot/bootdata/hivecls.inf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/reactos/boot/bootdata/hivecls.inf b/reactos/boot/bootdata/hivecls.inf index 10db21badfd..e83c7182462 100644 --- a/reactos/boot/bootdata/hivecls.inf +++ b/reactos/boot/bootdata/hivecls.inf @@ -45,7 +45,7 @@ HKCR,"anifile","",0x00000000,"Animated Cursor" HKCR,"anifile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\main.cpl,-1039" HKCR,"anifile\DefaultIcon","",0x00000000,"%1" -; DOS Batch-Files +; DOS Batch Files HKCR,".bat","",0x00000000,"batfile" HKCR,"batfile","",0x00000000,"DOS Batch File" HKCR,"batfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-158" @@ -53,6 +53,7 @@ HKCR,"batfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-153 HKCR,"batfile\shell\edit\command","",0x00020000,"%SystemRoot%\system32\notepad.exe %1" HKCR,"batfile\shell\open\command","",0x00000000,"""%1"" %*" +; ReactOS Cmd Script Files HKCR,".cmd","",0x00000000,"cmdfile" HKCR,"cmdfile","",0x00000000,"ReactOS Command Script" HKCR,"cmdfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-159" @@ -60,11 +61,12 @@ HKCR,"cmdfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-153 HKCR,"cmdfile\shell\edit\command","",0x00020000,"%SystemRoot%\system32\notepad.exe %1" HKCR,"cmdfile\shell\open\command","",0x00000000,"""%1"" %*" -; Get DOS Applications a Icon +; DOS Applications HKCR,".com","",0x00000000,"comfile" HKCR,"comfile","",0x00000000,"DOS Application" HKCR,"comfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-160" HKCR,"comfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-3" +HKCR,"comfile\shell\open\command","",0x00000000,"""%1"" %*" ; Control Panel extensions HKCR,".cpl","",0x00000000,"cplfile" @@ -93,7 +95,7 @@ HKCR,"drvfile","",0x00000000,"Device Driver" HKCR,"drvfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-164" HKCR,"drvfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154" -; Applicatons +; Applications HKCR,".exe","",0x00000000,"exefile" HKCR,"exefile","",0x00000000,"ReactOS Application" HKCR,"exefile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-165"