tools: associating .bat files with wine

Nowres Rafid nowres.rafed at gmail.com
Sun Aug 14 11:29:33 CDT 2011


---
 tools/wine.inf.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 77c9d4d..4bc34fd 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -161,6 +161,7 @@ FontSubStr="Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes"
 Control="System\CurrentControlSet\Control"
 
 [Classes]
+HKCR,.bat,,2,"batfile"
 HKCR,.chm,,2,"chm.file"
 HKCR,.cpl,,2,"cplfile"
 HKCR,.hlp,,2,"hlpfile"
@@ -171,6 +172,9 @@ HKCR,.msi,,2,"Msi.Package"
 HKCR,.msp,,2,"Msi.Patch"
 HKCR,.rtf,,2,"rtffile"
 HKCR,.wri,,2,"wrifile"
+HKCR,batfile,,2,"MS DOS command file"
+HKCR,batfile\DefaultIcon,,2,"cmd.exe"
+HKCR,batfile\shell\open\command,,2,"%11%\start.exe %1"
 HKCR,chm.file,,2,"Compiled HTML Help File"
 HKCR,chm.file\shell\open\command,,2,"%10%\hh.exe %1"
 HKCR,cplfile,,2,"Control Panel Item"
-- 
1.7.4.1


--=-mI50SGX4T1bXOUT7tqr4--




More information about the wine-patches mailing list