Skip to main content
Announcements
Do More with Qlik - Qlik Cloud Analytics Recap and Getting Started, June 19: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Closing csv file after reloading

Hiii,

i am fetching the data from csv file that is reloaded every day. but while overwriting new data in place of old data from .net side it give an error that file is still open.

So is there any way to close that csv file after taking the data in qlikview. so that on nxt day the overwriting in csv is done without any problem.

4 Replies
Not applicable
Author

Hi,

Try with killing that process ..

taskkill /F /IM "excel.exe" /T

Karthik

Not applicable
Author

do i have to mention the file name with  its path in place of excel.exe

Not applicable
Author

You can't kill process by file name..

It will close all excel files.. If you wants to kill particularly that file then its won't work.

Not applicable
Author

Hi You can use Windowtitle switch to kill the file, after ""windowtitle eq" specify the exact window title. hope this helps you.

tasklist /fi "windowtitle eq Test.txt - Notepad"