We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47caafb commit fbe3e17Copy full SHA for fbe3e17
Cmder.bat
@@ -5,7 +5,12 @@ SET CMDER_ROOT=%~dp0
5
@if "%CMDER_ROOT:~-1%" == "\" SET CMDER_ROOT=%CMDER_ROOT:~0,-1%
6
7
if not exist "%CMDER_ROOT%\config\user_ConEmu.xml" (
8
- copy "%CMDER_ROOT%\vendor\ConEmu.xml.default" "%CMDER_ROOT%\config\user_ConEmu.xml"
+ if not exist "%CMDER_ROOT%\config" mkdir "%CMDER_ROOT%\config" 2>nul
9
+ copy "%CMDER_ROOT%\vendor\ConEmu.xml.default" "%CMDER_ROOT%\config\user_ConEmu.xml" 1>nul
10
+ if %errorlevel% neq 0 (
11
+ echo ERROR: CMDER Initialization has Failed
12
+ exit /b 1
13
+ )
14
)
15
16
if exist "%~1" (
0 commit comments