| 
            Last change
 on this file since 44 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:
            733 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [40] | 1 | Rem 24 juillet 2014 : suppression du montage lecteur f:
 | 
|---|
 | 2 | 
 | 
|---|
| [36] | 3 | @echo off
 | 
|---|
 | 4 | 
 | 
|---|
 | 5 | choice /t 10 /D o > null
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | ipconfig > c:\temp\ipConfig-result.txt
 | 
|---|
 | 8 | 
 | 
|---|
 | 9 | find "Adresse IPv4" < c:\temp\ipConfig-result.txt > c:\temp\ipV4.txt
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 | find "172" < c:\temp\ipV4.txt > c:\temp\ip172.txt
 | 
|---|
 | 12 | 
 | 
|---|
 | 13 | set /p ipVrai= < c:\temp\ip172.txt
 | 
|---|
 | 14 | 
 | 
|---|
 | 15 | set ipVrai=%ipVrai:~44,3%
 | 
|---|
 | 16 | 
 | 
|---|
 | 17 | echo %ipVrai% > c:\temp\ipVrai.txt
 | 
|---|
 | 18 | 
 | 
|---|
 | 19 | Rem connecter un lecteur réseau sur la borne xfel
 | 
|---|
| [40] | 20 | Rem net use w: \\borne-xfel\data\JSON /user:xfel1 0164468560
 | 
|---|
 | 21 | net use w: \\172.16.1.1\data\JSON /user:xfel1 0164468560
 | 
|---|
 | 22 | 
 | 
|---|
| [36] | 23 | Rem connecter un lecteur réseau sur le serveur ftp
 | 
|---|
| [40] | 24 | Rem if %ipVrai% == 172 ("C:\Program Files\FERRO Software\FtpUse\ftpUse.exe" f: 172.16.1.19/temp/JSON)
 | 
|---|
| [36] | 25 | 
 | 
|---|
 | 26 | 
 | 
|---|
 | 27 |                     
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | 
 | 
|---|
 | 30 | 
 | 
|---|
 | 31 |   | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.