Thanks for your reply, but I can't set a dependency because I don't know which app I need to reload, because they don't exist yet... I know it sounds a bit complicated. Let me try and explain:
1 - I get huge files from a data source, there is no pattern for the file name. The Files contain the same column structure.
2 - I would like to create one app per file so I don't load all the apps at one given time.
So I created and app that looks for new files and creates an app for each one of them, because I don't know their names I can't set them up in QMC.
Alright Qliktech support pointed me in the right direction. Instead of using QV.exe to reload I should use QVDistributionservice.exe.
EXECUTE cmd.exe /C ""D:\Program Files\QlikView\Distribution Service\QVDistributionService.exe" -r="$(v_TESTE)"";
(Don't forget the Initial and final double quotation)
For future reference:
Set the EnableBatchMode to "True" in the QVdistributionservice.exe.config file and restart the QDS service.
Server Reference Manual:
More functions parameters can be found in the QV Server Reference Manual.
Thank you Troy Raney from Qlikview