Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Send Mail Alert Using Batchfile

Hi All,

I can send the Mail when I reload the application using Batch File . But the Problem is After reloading, application and batch file is kept open .(Normally If reloaded with batch file, batch file and application get close automatically ). Is there any command that forcely closes the batch file after reload . Please guide me..............

Regards,

Chakravarthy.

5 Replies
maneshkhottcpl
Partner - Creator III
Partner - Creator III

Hi

Create one vb script file having the send email option and after reload of application call the file from batch file.

Not applicable
Author

Hi Manesh ,

Thanks for reply. Sorry to say this ,I didnot understood your post . Can you explain in detail .

Regards,

Chakravarthhy.

deepakk
Partner - Specialist III
Partner - Specialist III

HI,

In order to close the batch file, you might have create another batch file and close it forcefully.

you can used the taskkill command to do so.

eg:

taskkill /f /im cmd.exe.

I hope this helps.

Not applicable
Author

Hi Deepak,

Thanks for your reply . It Solved the problem.. Smile

Regards,

Chakravarthy.

Not applicable
Author

Ref : http://community.qlik.com/message/18973#18973

Batch to run macros

1.Create Batch file  ==> "C:\Program Files\QlikView\qv.exe" /l "path_to_document"

2.Create Task Scheduler to RUN Batch file (1)

3.QVW Document ==> Document properties > OnPostReload ==> Add RUN MACRO

4.add  (end of script)

        ActiveDocument.Save

    Application.Quit