you can load the qvd file in Qlikview and use the store command.
store * from mytable into myfile.txt (txt);
From a practical point of view, what are you really trying to accomplish?
Look up the For Each statement to understand how you could loop all the qvd files on disk.
// list all QV related files on disk
sub DoDir (Root)
for each Ext in 'qvw', 'qva', 'qvo', 'qvs'
for each File in filelist (Root&' \*.' &Ext)
Load '$(File)' as Name, FileSize( '$(File)' ) as
Size, FileTime( '$(File)' ) as FileTime
for each Dir in dirlist (Root&' \*' )
call DoDir (Dir)
call DoDir ('C:')
Thanks for your replies. I am trying to do this (maybe) the hard way. I would like refrain from launching the QlikView gui at all. I want to be able to dump the contents of the qvw file into a csv file either from the command line or from another program (Java or C++) . I have no control over the macros etc in the qvw file so I cannot put anything in the file to do the export. Besides, I have not programmed in VBScript. I would prefer a Java (or C++) solution for this task if at all possible. Btw I am using ver 9 of QlikView.
Thanks in advance for any pointers.