Last change
on this file since 45 was 40, checked in by marrucho, 11 years ago |
mount.bat monte w:
xftp.bat monte f:
le planificateur de taches lance xft-autre.bat qui lance xftp.bat qui lance xftp.vbs
|
File size:
658 bytes
|
Line | |
---|
1 | Rem 24 juillet 2014 rajout montage/démontage lecteur f:
|
---|
2 |
|
---|
3 | @echo off
|
---|
4 |
|
---|
5 |
|
---|
6 | set /p ipVrai= < c:\temp\ip172.txt
|
---|
7 | set ipVrai=%ipVrai:~44,3%
|
---|
8 | echo %ipVrai% > c:\temp\ipVrai.txt
|
---|
9 |
|
---|
10 | if %ipVrai% == 172 (
|
---|
11 |
|
---|
12 | Rem connecter un lecteur réseau sur le serveur ftp
|
---|
13 | "C:\Program Files\FERRO Software\FtpUse\ftpUse.exe" f: 172.16.1.19/temp/JSON)
|
---|
14 |
|
---|
15 | c:
|
---|
16 | cd c:\temp
|
---|
17 | cscript /nologo C:\Users\$xfel1\Desktop\outils\xftp\xftp.vbs >>xftp.txt
|
---|
18 | Rem cscript /nologo "C:\Documents and Settings\marrucho.LAL\Bureau\xfel-SI\outils\xftp\xftp.vbs" 11
|
---|
19 |
|
---|
20 | Rem déconnecter le lecteur réseau
|
---|
21 | if %ipVrai% == 172 ("C:\Program Files\FERRO Software\FtpUse\ftpUse.exe" f: /delete)
|
---|
22 |
|
---|
23 | )
|
---|
24 |
|
---|
25 | exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.