Skip to main content
Announcements
Marching toward a simplified navigation! READ ON
cancel
Showing results for 
Search instead for 
Did you mean: 
davinfrost
Contributor III
Contributor III

.bat command for reload qvw

hi guys, i want to ask how to reload qvw using ,bat extension, i mean which trigger command i should use.

i only know 

@echo off
start expense.qvw

i dont know how to run trigger qvw, and how to save it?

 

can anybody find me somebody to love?

no, i mean can anybody share to me , how to create .bat command ??

thanks in advance

nope just kidding

1 Solution

Accepted Solutions
fallenangel6
Creator
Creator

"C:\Program Files\QlikView\qv.exe" /R "C:\QlikviewApplications\Raw_QVD_App.qvw"

copy "C:\QlikviewApplications\QV_Application_Name.qvw" "C:\ProgramData\QlikTech\QlikView\Documents\"

Exit

the first statement reloads the application named  Raw_QVD_App.qvw

please note the /R in first statement which does the reloading function.

the second statement basically copies the reloaded application to a new folder.

while reloading the file saves as well with the fresh data.

View solution in original post

10 Replies
davinfrost
Contributor III
Contributor III
Author

that script only open , it doesnt run(vtrl+r) and save selected qvw

cmiiw

sasikanth
Master
Master

Hi ,

 

use below commands to reload a qv file.

 

 

SET QV_Exec_Path=C:\Program Files\QlikView
SET File_Path=D:\QV_Execution


"%QV_Exec_Path%\Qv.exe" /r "%File_Path%\QVD_Creation\Sales_QVD_Creation.qvw"

 

 

Thanks,
Sasi

davinfrost
Contributor III
Contributor III
Author

so basically your path is 

D:\QV_Execution\QVD_Creation\Sales_QVD_Creation.qvw

 

is that right?

after that how to close script execution reload and how to save after reload??

many thanks

marcus_sommer

Did you try it? A command call with /r parameter open/reload/save/close an application.

- Marcus

fallenangel6
Creator
Creator

"C:\Program Files\QlikView\qv.exe" /R "C:\QlikviewApplications\Raw_QVD_App.qvw"

copy "C:\QlikviewApplications\QV_Application_Name.qvw" "C:\ProgramData\QlikTech\QlikView\Documents\"

Exit

the first statement reloads the application named  Raw_QVD_App.qvw

please note the /R in first statement which does the reloading function.

the second statement basically copies the reloaded application to a new folder.

while reloading the file saves as well with the fresh data.

davinfrost
Contributor III
Contributor III
Author

here is mine,

 

SET QV_Exec_Path=C:\Program Files\QlikView
SET File_Path=C:\QlikView


"%QV_Exec_Path%\Qv.exe" /r "%File_Path%\Dev\Testing\Testing.qvw
exit

i think , it is not necessary to copy , right??

because what i need is save and exit?

*by the way , my exit didnt work

so sorry, all is nice, but is that pop up of script reload cant close automatically?

or is there anything to help close that script reload page?

fallenangel6
Creator
Creator

"%File_Path%\Dev\Testing\Testing.qvw
exit

you wrote the above code without closing quotes. 

just close the quotes " then exit should work.

"%File_Path%\Dev\Testing\Testing.qvw"
exit

 

davinfrost
Contributor III
Contributor III
Author

solved !!!

Many Thanks mate !!