3 IF "%2"=="" (set WPDPACKDESTDIR=.\WpdPack\) ELSE (set WPDPACKDESTDIR=%2)
\r
5 IF ""=="%1" (set WINPCAPSOURCEDIR=.\) ELSE (set WINPCAPSOURCEDIR=%1)
\r
7 echo Creating \Lib folder
\r
8 mkdir %WPDPACKDESTDIR% >nul 2>nul
\r
9 mkdir %WPDPACKDESTDIR%\Lib >nul 2>nul
\r
11 xcopy /v /Y %WINPCAPSOURCEDIR%\wpcap\PRJ\Release_REMOTE\wpcap.lib %WPDPACKDESTDIR%\Lib\ >nul
\r
12 xcopy /v /Y %WINPCAPSOURCEDIR%\packetNtx\Dll\Project\Release\packet.lib %WPDPACKDESTDIR%\Lib\ >nul
\r
13 xcopy /v /Y %WINPCAPSOURCEDIR%\packetNtx\Dll\Project\libpacket.a %WPDPACKDESTDIR%\Lib\ >nul
\r
14 xcopy /v /Y %WINPCAPSOURCEDIR%\wpcap\LIB\libwpcap.a %WPDPACKDESTDIR%\Lib\ >nul
\r
16 echo Folder \Lib created successfully
\r
19 set WINPCAPSOURCEDIR=
\r