rem ###################### For System
rem [bin(exe) path]
set binp=..\..\ScoutCheckerBat\bin\

rem [CSS path]
set cssp=..\..\ScoutCheckerBat\files\css\

rem [original images path]
set oimgp=..\..\ScoutCheckerBat\files\images_org\

rem [library path]
set libp=..\..\lib\

rem [backup file]
set buf=BU_00.txt
rem [backup path + file]
set bup=backup\
rem [backup path + file]
set bupf=%bup%%buf%

rem ###################### For Project
set ResultPath=Result\
set RsltDataPath=Data\
set BmpPath=Images\

cd .

mkdir %bup%

echo   > %bupf%


%binp%SC_N2UC.exe 			%bupf% %bupf% InputData\SAMPLE.net TOP
%binp%SC_N2UC.exe 			%bupf% %bupf% InputData\SAMPLE_IO.net IO

%binp%SC_B2U.exe 			%bupf% %bupf% InputData\SAMPLE.csv TOP "0 0 3 4 5 6"
%binp%SC_B2U.exe 			%bupf% %bupf% InputData\SAMPLE_IO.csv IO "0 0 3 4 5 6"

%binp%SC_E2U.exe 			%bupf% %bupf% InputData\SAMPLE_ExtCN.txt
%binp%SC_E2U.exe 			%bupf% %bupf% InputData\CON_TOP2IO.txt
%binp%SC_E2C.exe 			%bupf% %bupf% InputData\CON_TOP2IO.txt

%binp%SC_E2U.exe 			%bupf% %bupf% %libp%Cap_murata.txt
%binp%SC_E2U.exe 			%bupf% %bupf% %libp%Res_KOA.txt
%binp%SC_AddInfoRef2Pin.exe 		%bupf% %bupf%
%binp%SC_E2U.exe 			%bupf% %bupf% %libp%EP3C10E144_pin.txt
%binp%SC_AddInfoRef2Pin.exe 		%bupf% %bupf%
%binp%SC_E2U.exe 			%bupf% %bupf% %libp%EPCSx_pin.txt
%binp%SC_AddInfoRef2Pin.exe 		%bupf% %bupf%
%binp%SC_E2U.exe 			%bupf% %bupf% %libp%XC6220_pin.txt
%binp%SC_AddInfoRef2Pin.exe 		%bupf% %bupf%
%binp%SC_E2U.exe 			%bupf% %bupf% %libp%XC6220_volt.txt

%binp%SC_CheckDup.exe 			%bupf% %bupf%
%binp%SC_AddInfoRef2Pin.exe 		%bupf% %bupf%
%binp%SC_AddPinCountMax2Unit.exe 	%bupf% %bupf%
%binp%SC_SearchNet2OnePin2Net.exe 	%bupf% %bupf%
%binp%SC_MakeAllLink.exe 		%bupf% %bupf% %BmpPath%
%binp%SC_PathSearchGND.exe 		%bupf% %bupf%
%binp%SC_PathSearchVCC.exe 		%bupf% %bupf%
%binp%SC_PathSearchSig.exe 		%bupf% %bupf%
%binp%SC_PinPin2PinDevPin4PathList.exe 	%bupf% %bupf%
rem %binp%SC_CompressPath.exe 		%bupf% %bupf%
%binp%SC_HyokaObPow.exe 		%bupf% %bupf%

mkdir %ResultPath%
mkdir %ResultPath%%RsltDataPath%
mkdir %ResultPath%%RsltDataPath%%BmpPath%

copy %oimgp%*.bmp %ResultPath%%RsltDataPath%%BmpPath%

copy %cssp%*.css %ResultPath%%RsltDataPath%

%binp%SC_OutTXTNetList.exe	 	%bupf% %bupf% %ResultPath%%RsltDataPath% %BmpPath%
%binp%SC_OutTXTPinList.exe	 	%bupf% %bupf% %ResultPath%%RsltDataPath% %BmpPath%
%binp%SC_OutTXTRefList.exe	 	%bupf% %bupf% %ResultPath%%RsltDataPath% %BmpPath%

%binp%SC_OutTXTForUser.exe	 	%bupf% %bupf% %ResultPath%%RsltDataPath%UO_BANK.html %libp%Alterra_EP3C_BANK.txt EP3C_BANK
%binp%SC_OutTXTForUser.exe	 	%bupf% %bupf% %ResultPath%%RsltDataPath%EP3C_ipath.html %libp%Alterra_EPCS_ipath.txt EP3C_ipaths

set /P USR_INPUT_STR="?:"
