Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
Func _FileCopy($pFrom,$pTo) ;Forget the flags. They don't appear to work at all Local $FOF_NOCONFIRMMKDIR = 512 Local $FOF_NOCONFIRMATION = 16 If FileExists($pTo) Then DirRemove($pTo,1);This removes the directory and all its file to prevent the annoying overwrite file confirmation message DirCreate($pTo) $winShell = ObjCreate("shell.application") $winShell.namespace($pTo).CopyHere($pFrom) EndFunc
RunWait(@ComSpec & " /c " & 'xcopy "' & 'e:\setupfiles\*.*' & '" "' & "c:\somefolder" & '" /D /E /C /R /H /I /K /Y')
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.