Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I have created the PRJ_Folder_Creation.qvw application to create prj folders and running via batch script. It is common application for all team members. So multiple instance created when more then one team member execute the batch file at same time.
Batch Script: PRJ_Folder_Creation.bat
C:\Program Files\QlikView\Qv.exe" /r "D:\PRJ_Folder_Creation.qvw"
Batch file has to execute based on condition, have to check PRJ_Folder_Creation.bat is already 'running' or 'not'.
If it is running have to trigger a msg as ' Already running, Please try some time later' and batch has to exit, If it is not running has to start above mentioned batch script.
Please suggest to handle this issue. Suggestions are appreciated.
Thanks
Hi, maybe there is a better way but I woud try creating a file when the bat starts and delete it when it ends, the 2nd bat can check if the file exists, in that case the first bat is still running.
Hi Rubenmarin,
I tried your suggestion and It is working for me. Thanks for tricky solution.
Hi, maybe there is a better way but I woud try creating a file when the bat starts and delete it when it ends, the 2nd bat can check if the file exists, in that case the first bat is still running.
Hi Rubenmarin,
I tried your suggestion and It is working for me. Thanks for tricky solution.