blob: d920e31c0393a9767d175ae7ee89b9ba8ac3b2cf (
plain)
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
|
REM 20190413
echo off
REM Edit the followings if necessary.
set verR=3.4.2
set verM=5.37.3
cd %~dp0
if not exist "ketcindyfolder" (
cd ../ketcindyfolder
)
echo ketcindyfolder is
cd
set xcp="\Windows\System32\xcopy"
set change=\.ketcindy.conf
set dist=%HOMEPATH%\ketcindy
if exist "%dist%\." (
echo Deleting "%dist%"
rd /s "%dist%"
)
%xcp% /Y /Q /S /E /R "work\*.*" "%dist%\"
echo Workfolder has been generated as %dist%
echo This folder can be moved to any place
set /P STR_INPUT="Language (j/e) :"
if("%STR_INPUT%" == "e" (
copy /Y "doc\ketmanual\KeTCindyReferenceE.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTCindyGuideE.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTpicStyleE.pdf" "%dist%\"
) else (
copy /Y "doc\ketmanual\KeTCindyReferenceJ.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTCindyGuideJ.pdf" "%dist%\"
copy /Y "doc\ketmanual\KeTpicStyleJ.pdf" "%dist%\"
)
set dist=%HOMEPATH%
set prg=C:\Program Files
echo generating %dist%\%changesetting%
echo // Re-setting PathT,Pathpdf,PathAd > "%dist%%change%"
echo //PathT=PathThead+"uplatex"; >> "%dist%%change%"
echo //Pathpdf="%prg%\SumatraPDF\SumatraPDF.exe"; >> "%dist%%change%"
echo //PathR="%prg%\R\R-xxxx\bin"; >> "%dist%%change%"
echo //PathM="C:\maxima-x.xx.x\bin\maxima.bat"; >> "%dist%%change%"
pause
|