Author: Hacker
Posted: Sun Jun 12, 2016 11:07 am (GMT -6)
sorcar,
Eh, you could have mentioned that before.![Razz]()
HTH
Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Posted: Sun Jun 12, 2016 11:07 am (GMT -6)
sorcar,
Eh, you could have mentioned that before.

Code: |
Loop, Read, %1% { FileGetAttrib, Attrib, %A_LoopReadLine% IfInString, Attrib, D { RegExMatch(A_LoopReadLine, ".*\\\K.*?(?=\\)", TopDirName) StringLen, SourceAbsolutePathLength, A_LoopReadLine SourceAbsolutePathLength-- Loop, Files, %A_LoopReadLine%*.*, R { SplitPath, A_LoopFileLongPath, , SourceSubDirPath, , FileName StringTrimLeft, TargetSubDirPath, SourceSubDirPath, SourceAbsolutePathLength FileGetTime, TimeStamp, %A_LoopFileLongPath% FileCreateDir, %2%%TopDirName%%TargetSubDirPath% FileCreateShortcut, %A_LoopFileLongPath%, %2%%TopDirName%%TargetSubDirPath%\%FileName%.lnk FileSetTime, %TimeStamp%, %2%%TopDirName%%TargetSubDirPath%\%FileName%.lnk } Continue } SplitPath, A_LoopReadLine, , , , FileName FileGetTime, TimeStamp, %A_LoopReadLine% FileCreateShortcut, %A_LoopReadLine%, %2%%FileName%.lnk FileSetTime, %TimeStamp%, %2%%FileName%.lnk } |
HTH
Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.