Batch file script to reload Qlikview Applications

    Hi Folks,

     

    Recent days,I have seen some of them are asking on running Qlikview applications through windows scheduler in community.

    Generally we follows 3 tier architecture in our project.

    Assume we have 3 qvw files.

    1.Raw QVD file generator (Raw_QVD_App.qvw)

    2.Model QVD file generator (ModelQVD_App.qvw)

    3.Qlikview Application.(QV_Application_Name.qvw)

     

    We have QV_Application_Name.qvw file run reload the data daily in C:\QlikviewApplications\ and copy into destination folder C:\ProgramData\QlikTech\QlikView\Documents\

     

    Here is the batch file script

     

    "C:\Program Files\QlikView\qv.exe" /R "C:\QlikviewApplications\Raw_QVD_App.qvw"
    "C:\Program Files\QlikView\qv.exe" /R "C:\QlikviewApplications\ModelQVD_App.qvw"
    "C:\Program Files\QlikView\qv.exe" /R "C:\QlikviewApplications\QV_Application_Name.qvw"
    copy "C:\QlikviewApplications\QV_Application_Name.qvw" "C:\ProgramData\QlikTech\QlikView\Documents\"
    
    
    Exit
    
    
    
    

     

    We can schedule by using windows task scheduler to run this batch file daily/weekly/monthly,...

     

    Please review the script.

     

    Best Regards,

    QW