Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userspace:etu_adobe_reader [2015/04/03 12:06]
Robert Tauber [notepad++.exe / notepad++.au3]
userspace:etu_adobe_reader [2015/04/03 12:52] (current)
Robert Tauber [ETU Adobe Reader]
Line 15: Line 15:
  
 Tree (Q:\Adobe Reader):\\ Tree (Q:\Adobe Reader):\\
-Copy.exe\\+[[Copy.exe]] (Für *.exe)\\
 Adobe Reader\AdbeRdr#####​_de_DE.exe => [[http://​get.adobe.com/​de/​reader/​enterprise/​]]\\ Adobe Reader\AdbeRdr#####​_de_DE.exe => [[http://​get.adobe.com/​de/​reader/​enterprise/​]]\\
  
Line 62: Line 62:
 </​code>​ </​code>​
  
-==== Copy.exe / Copy.au3 ==== 
-Kopieren und Umbenennen \\ 
-//Später ermitteln der Version Nummer// 
  
-<code autoit> 
-#include <​File.au3>​ 
-#include <​Array.au3>​ 
- 
-Local $sPath = @ScriptDir 
-Local $aPath = StringSplit( @ScriptDir, "​\"​ ) 
-Local $sPathTo = "​C:​\Temp\"​ & $aPath[$aPath[0]] 
-local $extention = "​.exe"​ 
- 
- 
-;​_ArrayDisplay($sFolderList,​ "​$Folderolder"​) 
- 
-;MsgBox ( 1, "Zeil Pfad", $sPathTo ​ ) 
-DirRemove ( $sPathTo , 1 ) 
- 
-Local $sFolderList = _FileListToArray($sPath , "​*"​ , 2 ) 
-local $i = 0 
-For $i = 1 to $sFolderList[0] 
-    
-   Local $sFileList = _FileListToArray($sPath & "​\"​ & $sFolderList[$i] ​ , "​*"​ & $extention , 1 ) 
-   if $sFileList <> 0 Then 
-   if $sFileList[0] = 1 Then 
- ;​_ArrayDisplay($sFileList,​ "​$sFileList"​) 
- $sFrom = $sPath & "​\"​ & $sFolderList[$i] & "​\"​ & $sFileList[$sFileList[0]] 
- $sTo = $sPathTo & "​\"​ & $sFolderList[$i] &  $extention 
- FileCopy ( $sFrom, $sTo, 9 ) 
- ;DirRemove ( $sFrom ,1 ) 
- ;MsgBox ( 1, "​OK",​ $sFrom & " => " & $sTo & " ​ " & @error ) 
-   Else 
- MsgBox ( 1, "​ERROR",​ "Mehr als ein Subfolder in: " & $sPath & "​\"​ & $sFolderList[$i] ​ ) 
- _ArrayDisplay($sFileList,​ "​$sFileList"​) 
-   EndIf 
-   Else 
-   ;MsgBox ( 1, "No Subfolders in: ", $sPath & "​\"​ & $sFolderList[$i] ​ ) 
-   endif 
-Next 
- 
-Exit 
-</​code>​ 
  
 ==== setup.ins ==== ==== setup.ins ====

QR Code
QR Code userspace:etu_adobe_reader (generated for current page)