.EXE not executing under action

(imported topic written by Matt.Johnson)

I am trying to execute a EXE with arguments to complete an action. I download from our server and then the following code:

continue if {(size of it = 2472654 AND sha1 of it = “2f2d4a02d70bd3777a581e6448026c99367ec366”) of file “CleanWipe.tmp” of folder “__Download”}

extract CleanWipe.tmp

DOS “__download\CleanWipe\CleanWipeStub.exe”

However, the actual action requires an entire folder, and I believe it’s getting lost in re-direction.

What actions can I use to:

  1. Create a folder (DOS MKDIR)?

  2. Copy all files from __Download to that folder (where is the __Download folder by default anyway?)

  3. Execute the EXE with arguments - and stay in the current folder for reference from the EXE.

Thanks all!

(imported comment written by cstoneba)

try this:

waithidden cmd.exe /c “{pathname of client folder of current site & “__Download\CleanWipe\CleanWipeStub.exe”}”

(imported comment written by SystemAdmin)

Instead of “dos”, try “wait”, “waithidden”, “run” or “runhidden”.

Example: wait __download\CleanWipe\CleanWipeStub.exe /argument