Introduction implemented and fixed errors in previously submitted code.

This commit is contained in:
Glen De Cauwsemaecker 2014-03-23 01:41:53 +01:00
parent 6300440a61
commit a9a6f0242b
12 changed files with 32 additions and 47 deletions

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
utilities\\get_var.exe config\\config.coco %1
endlocal
for /f "delims=" %%a in ('utilities\\get_var.exe config\\config.coco %1') do set "%%a"

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
utilities\\get_var.exe config\\downloads.coco %1
endlocal
for /f "delims=" %%a in ('utilities\\get_var.exe config\\downloads.coco %1') do set "%%a"

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
utilities\\get_var.exe localisation\\%1.coco %2
endlocal
for /f "delims=" %%a in ('utilities\\get_var.exe localisation\\%1.coco %2') do set "%%a"

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
start notepad.exe %1
endlocal
start notepad.exe %1

View file

@ -1,6 +1,3 @@
@echo off
setlocal EnableDelayedExpansion
echo.
echo "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"
echo.
endlocal
echo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
echo.

View file

@ -1,7 +1,4 @@
@echo off
setlocal EnableDelayedExpansion
set "file=%1"
for /f "usebackq tokens=* delims=;" %%a in ("%file%") do (
echo.%%a
)
endlocal
)

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/header.coco
endlocal
print_file config/header.coco

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/info.coco
endlocal
print_file config/info.coco

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/license.coco
endlocal
print_file config/license.coco

View file

@ -1,6 +1,3 @@
@echo off
setlocal EnableDelayedExpansion
echo.
echo "-----------------------------------------------------------------------------"
echo.
endlocal
echo -----------------------------------------------------------------------------
echo.

View file

@ -1,4 +1 @@
@echo off
setlocal EnableDelayedExpansion
print_file config/tips.coco
endlocal
print_file config/tips.coco

View file

@ -1 +1,19 @@
@echo off
setlocal EnableDelayedExpansion
Color 0A
mode con: cols=78 lines=60
call print_header
call print_dashed_seperator
call get_config version
set "version=%temp_var%"
call get_config author
set "author=%temp_var%"
call get_config copyright
set "copyright=%temp_var%"
echo Welcome to the automated Installation of the CodeCombat Dev. Environment!
echo v%version% authored by %author% and published by %copyright%.
endlocal