EXTRACT Command error

(imported topic written by Matt.Johnson)

We are trying to extract a folder to a specific location (this is apparently supported in 8.2) using the following context:

extract BL4.tmp “C:\APPS\Bitlocker2”

This fails with a generic Runtime Error

Why would this be the case?

Also, please, before responding that “you cannot specify a destination path, use copy” review the documentation found on page 45 of http://support.bigfix.com/fixlet/documents/WinActions_81_110817.pdf

Thanks for any and all assistance.

(imported comment written by sinucus)

I use that functionality in my environment, the only difference is that I don’t use the trailing slash, i.e. “C:\APPS\Bitlocker2”

The other thing I would look at is permissions. The agent runs as SYSTEM, check to make sure that SYSTEM has rights to that location.

(imported comment written by Nem0)

I dont know if this is your issue but the extract command only works on packages that have been compressed using TEM from memory. When I use SWD, I can zip an entire folder to deploy and then use the extract command to unbundle. This command however did not work when I included my own zip package. For that you would probably need to use an OS level Extract command versus the relevance extract command

(imported comment written by SystemAdmin)

The target directory shouldn’t contain a slash at the end.

The archive must be made by BFArchive

Also make sure that the path you are extracting to doesn’t force the path length to go over the maximum number of characters in a path (260 characters) for a non UNICODE application