Hi, I’m running BigFix 11.0.4 on Windows. I have 9 Windows machines that can’t run .bat files referenced in ILMT Initiate Software Scan fixlet. The 2 places where .bat files are referenced are
waithidden cmd.exe "{parameter "homefolder" as string}\checkBZIP2Status.bat" "{parameter "bzip2folder" as string}" "{parameter "homefolder" as string}"
...
runhidden "{parameter "homefolder" as string}\runcit_sw.bat" > "{parameter "logfilepath" as string}" 2>&1
The action just goes Failed when it gets to these .bat file calls. I discovered that if I prefix the call with cmd /c
eg.
waithidden cmd.exe /c ""{parameter "homefolder" as string}\checkBZIP2Status.bat" "{parameter "bzip2folder" as string}" "{parameter "homefolder" as string}""
...
runhidden cmd.exe /c ""{parameter "homefolder" as string}\runcit_sw.bat" > "{parameter "logfilepath" as string}" 2>&1"
Then it runs successfully. I thought this was a .bat to cmd.exe association issue, but the following is reported for each association query
C:\Users\s5490264>assoc .bat
.bat=batfile
C:\Users\s5490264>assoc batfile
batfile=Windows Batch File
C:\Users\s5490264>ftype batfile
batfile="%1" %*
C:\Users\s5490264>ftype cmdfile
cmdfile="%1" %*
Not sure what else to check that might explain why the association is not working??
Thanks in advance for any suggestions/feedback.
Regards … Leslie