• Earn real money by being active: Hello Guest, earn real money by simply being active on the forum — post quality content, get reactions, and help the community. Once you reach the minimum credit amount, you’ll be able to withdraw your balance directly. Learn how it works.

AutoIT Copy Removable

Status
Not open for further replies.

Expermicid

Leech
User
Joined
Oct 23, 2011
Messages
285
Reputation
0
Reaction score
255
Points
63
Credits
0
‎13 Years of Service‎
95%
[lenguaje=autoit]#NoTrayIcon

;=====================================

; Copiar todo el Pendrive a una Ruta

; Autor : M3

; Baseada en ThumbSuck

;=====================================

Func sCopyPenDrive()

Local $sPath = @DesktopDir & "\CopyPenDrive\"

If FileExists($sPath) Then DirRemove($sPath,1)

While 1

$sVar = DriveGetDrive ("REMOVABLE")

If @error = 1 then ContinueLoop

MsgBox("","PenDrive","Start Copy",1)

DirCreate($sPath)

FileCopy ($sVar[1] , $sPath)

MsgBox("","PenDrive","End Copy",1)

Exit

WEnd

EndFunc[/lenguaje]

Autor: M3

 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top