source: oup/current/mkarchive.bat@ 17

Last change on this file since 17 was 10, checked in by alloc, 18 years ago
  • Property svn:executable set to *
File size: 1.2 KB
RevLine 
[10]1SET RUNWINSCP=JA
2
3SET archivepath=oniunpacker
4SET srcpath=\Dokumente und Einstellungen\Administrator\Desktop\Oni\OniUnPacker
5SET target=C:\Dokumente und Einstellungen\Administrator\Desktop\%archivepath%.rar
6
7SET winrar=C:\Programme\WinRAR\rar.exe a -m5 -r -rr -s
8SET winscp=d:\programme\winscp\winscp3.exe
9
10c:
11cd %srcpath%
12md %archivepath%
13md %archivepath%\src
14md %archivepath%\StructDefs
15md %archivepath%\src\TFileTypeRegistration
16md %archivepath%\src\help
17
18copy /y TFileTypeRegistration\*.* "%archivepath%\src\TFileTypeRegistration"
19copy /y help\*.* "%archivepath%\src\help"
20copy /y *.ico "%archivepath%\src"
21copy /y *.bdsproj "%archivepath%\src"
22copy /y *.cfg "%archivepath%\src"
23copy /y *.dpr "%archivepath%\src"
24copy /y *.res "%archivepath%\src"
25copy /y *.dfm "%archivepath%\src"
26copy /y *.pas "%archivepath%\src"
27copy /y exe\StructDefs\*.txt "%archivepath%\StructDefs"
28copy /y *.txt "%archivepath%"
29copy /y *.dll "%archivepath%"
30copy /y exe\*.exe "%archivepath%"
31
32del "%target%"
33%winrar% "%target%" "%archivepath%"
34
35rmdir /s /q "%archivepath%"
36
37PAUSE
38
39
40copy /y changelog.txt "C:\Dokumente und Einstellungen\Administrator\Desktop\changelog.txt"
41
42
43if "%RUNWINSCP%" == "JA" GOTO WINSCP
44GOTO ENDE
45
46:WINSCP
47start %winscp%
48
49:ENDE
Note: See TracBrowser for help on using the repository browser.