[10] | 1 | SET RUNWINSCP=JA
|
---|
| 2 |
|
---|
| 3 | SET archivepath=oniunpacker
|
---|
| 4 | SET srcpath=\Dokumente und Einstellungen\Administrator\Desktop\Oni\OniUnPacker
|
---|
| 5 | SET target=C:\Dokumente und Einstellungen\Administrator\Desktop\%archivepath%.rar
|
---|
| 6 |
|
---|
| 7 | SET winrar=C:\Programme\WinRAR\rar.exe a -m5 -r -rr -s
|
---|
| 8 | SET winscp=d:\programme\winscp\winscp3.exe
|
---|
| 9 |
|
---|
| 10 | c:
|
---|
| 11 | cd %srcpath%
|
---|
| 12 | md %archivepath%
|
---|
| 13 | md %archivepath%\src
|
---|
| 14 | md %archivepath%\StructDefs
|
---|
| 15 | md %archivepath%\src\TFileTypeRegistration
|
---|
| 16 | md %archivepath%\src\help
|
---|
| 17 |
|
---|
| 18 | copy /y TFileTypeRegistration\*.* "%archivepath%\src\TFileTypeRegistration"
|
---|
| 19 | copy /y help\*.* "%archivepath%\src\help"
|
---|
| 20 | copy /y *.ico "%archivepath%\src"
|
---|
| 21 | copy /y *.bdsproj "%archivepath%\src"
|
---|
| 22 | copy /y *.cfg "%archivepath%\src"
|
---|
| 23 | copy /y *.dpr "%archivepath%\src"
|
---|
| 24 | copy /y *.res "%archivepath%\src"
|
---|
| 25 | copy /y *.dfm "%archivepath%\src"
|
---|
| 26 | copy /y *.pas "%archivepath%\src"
|
---|
| 27 | copy /y exe\StructDefs\*.txt "%archivepath%\StructDefs"
|
---|
| 28 | copy /y *.txt "%archivepath%"
|
---|
| 29 | copy /y *.dll "%archivepath%"
|
---|
| 30 | copy /y exe\*.exe "%archivepath%"
|
---|
| 31 |
|
---|
| 32 | del "%target%"
|
---|
| 33 | %winrar% "%target%" "%archivepath%"
|
---|
| 34 |
|
---|
| 35 | rmdir /s /q "%archivepath%"
|
---|
| 36 |
|
---|
| 37 | PAUSE
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | copy /y changelog.txt "C:\Dokumente und Einstellungen\Administrator\Desktop\changelog.txt"
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | if "%RUNWINSCP%" == "JA" GOTO WINSCP
|
---|
| 44 | GOTO ENDE
|
---|
| 45 |
|
---|
| 46 | :WINSCP
|
---|
| 47 | start %winscp%
|
---|
| 48 |
|
---|
| 49 | :ENDE
|
---|