Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Is there is any optimized way to scan the file system other than using the below code which generates very large log file. Please help!
// 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
autogenerate 1;
next File
next Ext
for each Dir in dirlist (Root&' \*' )
call DoDir (Dir)
next Dir
end sub
Hi David,
That I have already been trying but still no luck to read the data from unstructured file format. Below the thread which I have created for that. It would be great if you can provide some solution there.
Reading line by line to get the size of each file with full path
Thanks,