Last change
on this file since 39 was
36,
checked in by marrucho, 10 years ago
|
1er import du dossier xftp
|
File size:
628 bytes
|
Line | |
---|
1 | @echo off |
---|
2 | |
---|
3 | choice /t 10 /D o > null |
---|
4 | |
---|
5 | ipconfig > c:\temp\ipConfig-result.txt |
---|
6 | |
---|
7 | find "Adresse IPv4" < c:\temp\ipConfig-result.txt > c:\temp\ipV4.txt |
---|
8 | |
---|
9 | find "172" < c:\temp\ipV4.txt > c:\temp\ip172.txt |
---|
10 | |
---|
11 | set /p ipVrai= < c:\temp\ip172.txt |
---|
12 | |
---|
13 | set ipVrai=%ipVrai:~44,3% |
---|
14 | |
---|
15 | echo %ipVrai% > c:\temp\ipVrai.txt |
---|
16 | |
---|
17 | Rem connecter un lecteur réseau sur la borne xfel |
---|
18 | net use w: \\borne-xfel\data\JSON /user:xfel1 0164468560 |
---|
19 | |
---|
20 | Rem connecter un lecteur réseau sur le serveur ftp |
---|
21 | if %ipVrai% == 172 ("C:\Program Files\FERRO Software\FtpUse\ftpUse.exe" f: 172.16.1.19/temp/JSON) |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.