From 490c55529b39d6036e2bf7f9edc62986485bedb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 14 Jan 2004 23:21:31 +0000 Subject: [PATCH] Set explorer as default shell svn path=/trunk/; revision=7632 --- reactos/bootdata/hivesft.inf | 4 ++-- reactos/subsys/system/winlogon/winlogon.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/reactos/bootdata/hivesft.inf b/reactos/bootdata/hivesft.inf index caaacf32e4f..b2dcf0d67c0 100644 --- a/reactos/bootdata/hivesft.inf +++ b/reactos/bootdata/hivesft.inf @@ -31,8 +31,8 @@ HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirecto ;HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","AllUsersProfile",0x00000000,"All Users.REACTOS" ;HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","DefaultUserProfile",0x00000000,"Default User.REACTOS" -HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\system32\cmd.exe" -;HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe" +;HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\system32\cmd.exe" +HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe" HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","StartServices",0x00010001,0x00000001 HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","StartGUI",0x00010001,0x00000000 HKLM,"SOFTWARE\ReactOS\Windows NT\CurrentVersion\Winlogon","Userinit",0x00020000,"%SystemRoot%\system32\userinit.exe" diff --git a/reactos/subsys/system/winlogon/winlogon.c b/reactos/subsys/system/winlogon/winlogon.c index 66cff54fa25..3a6b2475f0c 100644 --- a/reactos/subsys/system/winlogon/winlogon.c +++ b/reactos/subsys/system/winlogon/winlogon.c @@ -1,4 +1,4 @@ -/* $Id: winlogon.c,v 1.24 2004/01/06 16:11:57 ekohl Exp $ +/* $Id: winlogon.c,v 1.25 2004/01/14 23:21:31 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -341,8 +341,8 @@ static PWCHAR GetShell(WCHAR *CommandLine) if (! GotCommandLine) { - GetSystemDirectory(CommandLine, MAX_PATH - 10); - wcscat(CommandLine, L"\\cmd.exe"); + GetWindowsDirectory(CommandLine, MAX_PATH - 15); + wcscat(CommandLine, L"\\explorer.exe"); } return CommandLine;