forked from nmap/npcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_web.bat
39 lines (33 loc) · 1.47 KB
/
create_web.bat
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
@echo off
if "%1"=="" (
echo You must specify the version string as parameter
goto end
)
echo Creating \web folder
mkdir .\web >nul 2>nul
mkdir .\web\install >nul 2>nul
mkdir .\web\install\bin >nul 2>nul
mkdir .\web\install\bin\debug >nul 2>nul
mkdir .\web\install\bin\debug\nt4_%1 >nul 2>nul
mkdir .\web\install\bin\debug\nt4_%1\x86 >nul 2>nul
mkdir .\web\install\bin\debug\nt5x_%1 >nul 2>nul
mkdir .\web\install\bin\debug\nt5x_%1\x86 >nul 2>nul
mkdir .\web\install\bin\debug\nt5x_%1\x64 >nul 2>nul
mkdir .\web\install\bin\debug\nt6_%1 >nul 2>nul
mkdir .\web\install\bin\debug\nt6_%1\x86 >nul 2>nul
mkdir .\web\install\bin\debug\nt6_%1\x64 >nul 2>nul
mkdir .\web\docs >nul 2>nul
mkdir .\web\docs\docs_%1 >nul 2>nul
rem
rem debug DLLs
rem
xcopy /v /y ".\packetntx\dll\project\release LOG_TO_FILE\x86\packet.dll" .\web\install\bin\debug\nt5x_%1\x86 >nul
xcopy /v /y ".\packetntx\dll\project\release LOG_TO_FILE\x64\packet.dll" .\web\install\bin\debug\nt5x_%1\x64 >nul
xcopy /v /y ".\packetntx\dll\project\release No NetMon LOG_TO_FILE\x86\packet.dll" .\web\install\bin\debug\nt6_%1\x86 >nul
xcopy /v /y ".\packetntx\dll\project\release No NetMon LOG_TO_FILE\x64\packet.dll" .\web\install\bin\debug\nt6_%1\x64 >nul
xcopy /v /y ".\packetNtx\Dll\Project\Release NT4 LOG_TO_FILE\x86\packet.dll" .\web\install\bin\debug\nt4_%1\x86 >nul
rem
rem docs
rem
xcopy /s /e /v /y ".\wpdpack\docs\*.*" .\web\docs\docs_%1\ >nul
:end