Rem This bat file is used to recreate 7 zip files for Update using .

dir > dirlog.txt

xcopy /Y ..\version .\NCDriver\  >> dirlog.txt
xcopy /Y ..\usb_driver\iquenc.sys .\NCDriver\ >> dirlog.txt
xcopy /Y ..\usb_driver\iquenc.inf .\NCDriver\ >> dirlog.txt

xcopy /Y ..\version .\EC\  >> dirlog.txt
xcopy /Y ..\sktp.exe .\EC\ >> dirlog.txt
xcopy /Y ..\root.pem .\EC\ >> dirlog.txt

xcopy /Y ..\version .\NCClient\ >> dirlog.txt
xcopy /Y /E ..\ncskin .\NCClient\ncskin\ >> dirlog.txt
xcopy /Y ..\iQue¾ÛÀÖ²¿¹ÜÀíÈí¼þ.exe .\NCClient\  >> dirlog.txt

xcopy /Y ..\version .\NCProxy\  >> dirlog.txt
xcopy /Y ..\vnproxy.exe .\NCProxy\  >> dirlog.txt
xcopy /Y ..\msvcr71.dll .\NCProxy\  >> dirlog.txt
xcopy /Y ..\msvcp71.dll .\NCProxy\  >> dirlog.txt
xcopy /Y ..\msvcr80d.dll .\NCProxy\  >> dirlog.txt
xcopy /Y ..\msvcp80d.dll .\NCProxy\  >> dirlog.txt
xcopy /Y ..\msvcm80d.dll .\NCProxy\  >> dirlog.txt
xcopy /Y ..\Microsoft.VC80.DebugCRT.manifest .\NCProxy\  >> dirlog.txt


xcopy /Y ..\version .\NCService\  >> dirlog.txt
xcopy /Y ..\usbproxy.exe .\NCService\  >> dirlog.txt
xcopy /Y ..\rvkcmd.exe .\NCService\  >> dirlog.txt
xcopy /Y ..\iQueShell.exe .\NCService\  >> dirlog.txt
xcopy /Y ..\iQueService.exe .\NCService\  >> dirlog.txt

xcopy /Y ..\version .\NCShell\  >> dirlog.txt
xcopy /Y ..\tomp3.exe .\NCShell\  >> dirlog.txt
xcopy /Y ..\license-zh.txt .\NCShell\  >> dirlog.txt
xcopy /Y ..\license-en.txt .\NCShell\  >> dirlog.txt
xcopy /Y ..\iQueViewer.dll .\NCShell\  >> dirlog.txt
xcopy /Y ..\FreeImage.dll .\NCShell\   >> dirlog.txt
xcopy /Y /E ..\pki_data .\NCShell\pki_data\  >> dirlog.txt


xcopy /Y ..\version .\NCUpdate\  >> dirlog.txt
xcopy /Y ..\update.exe .\NCUpdate\  >> dirlog.txt
xcopy /Y ..\BeginUpdate.exe .\NCUpdate\  >> dirlog.txt


"C:\Program Files\WinRAR\rar" a .\EC.zip -ep1 -r .\EC\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCClient.zip -ep1 -r .\NCClient\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCDriver.zip -ep1 -r .\NCDriver\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCProxy.zip -ep1 -r .\NCProxy\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCService.zip -ep1 -r .\NCService\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCShell.zip -ep1 -r .\NCShell\ >> dirlog.txt
"C:\Program Files\WinRAR\rar" a .\NCUpdate.zip -ep1 -r .\NCUpdate\ >> dirlog.txt