Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everybody,
I would like to parse a repository to re-create some QVD stored in a "QVD" folder.
Here is my script:
Directory QVD;
For each qvdFile in filelist ('*.qvd')
QVD:
LOAD
'$(qvdFile)' as Name,
FileName('$(qvdFile)') as FileName,
FileSize('$(qvdFile)') as Size,
FileTime( '$(qvdFile)') as FileTime
AUTOGENERATE(1);
NEXT qvdFile;
Anyway, nothing i have nothing stored in FileName ....
Can anybody help me ?
Thanks a lot for your reactivity ^^
Hi,
the reason is "Autogenerate" instead of '$(qvdFile)'.
Directory QVD;
For each qvdFile in filelist ('*.qvd')
QVD:
LOAD
'$(qvdFile)' as Name,
FileName('$(qvdFile)') as FileName,
FileSize('$(qvdFile)') as Size,
FileTime( '$(qvdFile)') as FileTime
From '$(qvdFile)'
//AUTOGENERATE(1)
;
NEXT qvdFile;
Hav a nice weekend!!!
Rainer
Hi,
the reason is "Autogenerate" instead of '$(qvdFile)'.
Directory QVD;
For each qvdFile in filelist ('*.qvd')
QVD:
LOAD
'$(qvdFile)' as Name,
FileName('$(qvdFile)') as FileName,
FileSize('$(qvdFile)') as Size,
FileTime( '$(qvdFile)') as FileTime
From '$(qvdFile)'
//AUTOGENERATE(1)
;
NEXT qvdFile;
Hav a nice weekend!!!
Rainer
Thanks a lot it's working !