(Single ZCM 2017U1 appliance)

I am trying to create a bundle that will delete the .XML inventory files in the C:\Program Files (x86)\Novell\ZENworks\work\inventory, then do the following commands:

zac inv scannow
zac sts rollup syn
zac refresh

By monitoring the /var/opt/novell/zenworks/collection/inventory directory on the server I can see that the inventory file doesn't get pushed up until the zac refresh command is run.

So I created a bundle with the three 'launch executible' lines per above and it doesn't work. No inventory file shows up on the server. If I then manually do a zac refresh at the command line or right click the icon and do a refresh on the system tray icon, the file immediately appears on the server.

I have also tried putting the above commands in a cmd file and running it in the bundle. Again, it doesn't work.

What am I doing wrong? BTW, I am being forced to do this because the ZCM inventory process is so unreliable. Half of my WS have truncated inventory info in the ZCC.