Copy failed (3)

(imported topic written by Kenz91)

Does anyone know what a copy failed (3) means. I can’t find anything that has the error codes listed.

(imported comment written by NoahSalzman)

The log is probably passing through the Windows error (PATH_NOT_FOUND):

http://msdn.microsoft.com/en-us/library/ms681382(v=vs.85).aspx

(imported comment written by Kenz91)

Here’s what I’m trying to do. It’s an installation that requires a response file. I had no luck getting it to access the file from _Download/ so I thought I would do a copy to c:\temp and reference it from there. When it gets to the copy it fails with that message. Here is my action.

download http://bigfix.fras.frb.org:52311/Uploads/9d4e07c76d803734f808237fae3818e271925ffb/IBMLicensesMetricTool.tmp

continue if {(size of it = 16177404 AND sha1 of it = “9d4e07c76d803734f808237fae3818e271925ffb”) of file “IBMLicensesMetricTool.tmp” of folder “__Download”}

extract IBMLicensesMetricTool.tmp

delete “c:\temp\TAD4DAgent.rsp”

copy “_Download\TAD4DAgent.rsp” “c:\temp\TAD4DAgent.rsp”

wait “__Download\setup.exe” /z"/sfc:\temp\TAD4DAgent.rsp" /L1033 /s

(imported comment written by Don65)

Does

copy "_Download

need two underscores? __download

1 Like

(imported comment written by NoahSalzman)

Yes, the “__Download” folder always needs to have two underscores. It would be nice if it said that explicitly in the BigFix Action Language Reference. :-/

Edit: I logged a “bug” against our docs.

(imported comment written by Kenz91)

Thanks Don that was it.

Aggreed Noah