How to save a document and close it after the save
Posted
by
Le Questione
on Super User
See other posts from Super User
or by Le Questione
Published on 2014-06-10T09:00:17Z
Indexed on
2014/06/10
9:28 UTC
Read the original article
Hit count: 253
Currently I have a .bat file that opens a program, opens a document and then reloads this document so it contains new data. After that I need a timeout so it can run some other things within the document which takes about 2 minutes in total, but for safety I used 5 minutes.
Then I want it to save the document and close the program. I've searched a lot for this but I can't find anything that saves the document and then closes it. Only can find how to save a bat file, but I already have that!
CD /D "D:\01 - Config\02 - Developer"
start qv.exe /l "D:\02 - Content\07 - Accesspoint\tracktrace.qvw"
timeout /t 300
????
exit 0
Please advise, thanks
© Super User or respective owner