source: trunk/xftp/mountFtp.bat @ 36

Last change on this file since 36 was 36, checked in by marrucho, 10 years ago

1er import du dossier xftp

File size: 628 bytes
Line 
1@echo off
2
3choice /t 10 /D o > null
4
5ipconfig > c:\temp\ipConfig-result.txt
6
7find "Adresse IPv4" < c:\temp\ipConfig-result.txt > c:\temp\ipV4.txt
8
9find "172" < c:\temp\ipV4.txt > c:\temp\ip172.txt
10
11set /p ipVrai= < c:\temp\ip172.txt
12
13set ipVrai=%ipVrai:~44,3%
14
15echo %ipVrai% > c:\temp\ipVrai.txt
16
17Rem connecter un lecteur réseau sur la borne xfel
18net use w: \\borne-xfel\data\JSON /user:xfel1 0164468560
19                   
20Rem connecter un lecteur réseau sur le serveur ftp
21if %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.