|
|
@ -18,6 +18,12 @@ echo. i i i |
|
|
|
echo \\i________________________________________________________i |
|
|
|
echo \\i________________________________________________________i |
|
|
|
echo. |
|
|
|
echo. |
|
|
|
echo. |
|
|
|
echo. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ping -n 2 -w 2000 $ip > NUL |
|
|
|
|
|
|
|
if errorlevel 1 ( |
|
|
|
|
|
|
|
echo Reseau non connecte |
|
|
|
|
|
|
|
exit /b %errorlevel% |
|
|
|
|
|
|
|
) |
|
|
|
net use \\\\$ip\\wpkg /user:$nt\\deploiement $pass >NUL |
|
|
|
net use \\\\$ip\\wpkg /user:$nt\\deploiement $pass >NUL |
|
|
|
net use \\\\$ip\\wpkglogs /user:$nt\\deploiement $pass >NUL |
|
|
|
net use \\\\$ip\\wpkglogs /user:$nt\\deploiement $pass >NUL |
|
|
|
set SOFTWARE=\\\\$ip\\wpkg\\softwares |
|
|
|
set SOFTWARE=\\\\$ip\\wpkg\\softwares |
|
|
|