Copy File is Failing

(imported topic written by thuy.cortes91)

I’m not sure why this task is failing. I am just trying to copy a file to the C:\WINDOWS\system32\


continue if {(size of it = 57036 AND sha1 of it = “310060d1e50266fc788d6aade4261eeb9def67c2”) of file “MSWINSCKocx.tmp” of folder “__Download”}

extract MSWINSCKocx.tmp

delete C:\WINDOWS\system32\MSWINSCK.ocx

copy __Download\MSWINSCK.ocx C:\WINDOWS\system32\MSWINSCK.ocx

(imported comment written by SystemAdmin)

Try putting quotes around the file location in the delete line and both the source/destination on the copy line. That should do the trick.

(imported comment written by thuy.cortes91)

Thanks, Brian. I found out that it failed because the file was in use