-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBOOTER.BAT
More file actions
80 lines (80 loc) · 2.45 KB
/
BOOTER.BAT
File metadata and controls
80 lines (80 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
@echo off
echo Proyect 2OS Compact Edition
echo Copyright (c) 2008 - 2012
echo All Rights Reserve
echo.
echo This proyect is based on DOS-C, FreeDOS, OpenDOS and Linux
echo sources codes.
echo.
echo 2OS is free software; you can redistribute it and/or
echo modify it under the terms of the GNU General Public License
echo as published by the Free Software Foundation; either version
echo 2, or (at your option) any later version.
echo.
echo 2OS is distributed in the hope that it will be useful, but
echo WITHOUT ANY WARRANTY; without even the implied warranty of
echo MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
echo the GNU General Public License for more details.
echo.
echo You should have received a copy of the GNU General Public
echo License along with DOS-C; see the file COPYING. If not,
echo write to the Free Software Foundation, 675 Mass Ave,
echo Cambridge, MA 02139, USA.
echo.
echo.
pause
echo Generando booter de arranque.
echo.
echo Generando Raiz..
MD TMP >NUL
cd tmp >NUL
MD BOOT >NUL
MD BIN >NUL
MD ETC >NUL
CD ETC
MD INIT >NUL
cd ..
MD LIB >NUL
MD SBIN >NUL
MD TMP >NUL
MD USR >NUL
MD VAR >NUL
CD USR
MD BIN >NUL
MD SBIN
MD LIB
MD SHARE
CD SHARE
MD QUADNET
CD..
CD..
CD VAR
MD LIB >NUL
CD..
echo.
echo Iniciando copia de ficheros..
echo.
copy ..\..\..\boot\*.* boot >NUL
copy ..\..\..\bin\*.* bin >NUL
copy ..\..\..\etc\*.* etc >NUL
copy ..\..\..\etc\init\*.* etc\init >NUL
copy ..\..\..\lib\*.* lib >NUL
copy ..\..\..\sbin\*.* sbin >NUL
copy ..\..\..\tmp\*.* tmp >NUL
copy ..\..\..\usr\bin\*.* usr\bin >NUL
copy ..\..\..\usr\sbin\*.* usr\sbin >NUL
copy ..\..\..\usr\lib\*.* usr\lib >NUL
copy ..\..\..\var\lib\*.* var\lib >NUL
copy ..\..\..\usr\share\quadnet\*.* usr\share\quadnet >NUL
echo Fin de copia.
echo.
echo Comprimiendo imagen..
arj a boot.arj -r >NUL
arj f -je boot.arj >NUL
del boot.arj >NUL
ren boot.exe boot.pak >NUL
move boot.pak ..\boots >NUL
CD..
copy tools\write.exe boots >NUL
rm -r tmp >NUL
rem deltree /Y tmp