Batch File execution Issue through IBM BigFix

Hello All,

I am trying to execute below batch file through BigFix but action is getting failed. Please see the below action script:-

prefetch 4652056594531770a98a170390bbd9471dbac040 sha1:4652056594531770a98a170390bbd9471dbac040 size:42400033
http://XYZ.Com:52311/Uploads/4652056594531770a98a170390bbd9471dbac040/Win2003x86Patches.tmp sha256:bf9f8de423436635ec70aff240ecc369798404e3b7e961cb293e32e9d51c4a09
extract 4652056594531770a98a170390bbd9471dbac040

wait run “{pathname of system folder}”{pathname of system folder & “\cmd.exe”}" /c “{(pathname of client folder of current site) & “__Download\Install.bat”}”"

Any input will be highly appreciated :slight_smile:

You should either “run” or “wait”, not both.

@slb is right – use wait or run.

You can also simplify your waithidden to just:

waithidden cmd.exe /c "__Download\Install.bat"

Hi Strawgate,

I have batch file which has a below executable details with path
C:\install\Win2003x86Patches\WindowsServer2003_KB3079904_x86_custom_ENU_1.exe /q /norestart
C:\install\Win2003x86Patches\WindowsServer2003_KB3078601_x86_custom_ENU.exe /q /norestart
C:\install\Win2003x86Patches\WindowsServer2003_KB3087038_x86_custom_ENU_1.exe /q /norestart
And I have created below action script in-order to execute the batch file but the last line of action script is getting failed:-

**Completed prefetch 4652056594531770a98a170390bbd9471dbac040 sha1:4652056594531770a98a170390bbd9471dbac040 size:42400033 http://XYZ:52311/Uploads/4652056594531770a98a170390bbd9471dbac040/Win2003x86Patches.tmp sha256:bf9f8de423436635ec70aff240ecc369798404e3b7e961cb293e32e9d51c4a09 **
**Completed extract 4652056594531770a98a170390bbd9471dbac040 **
**Completed dos mkdir “C:\Install” **
**Failed move “__Download\Win2003x86Patches” “C:\Install\Win2003x86Patches” **
**dos “C:\Install\Win2003x86Patches\Install.bat” **
delete “C:\Install”

Thank you all issue has been resolved. :slight_smile: