Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Heres what I'd like to do:
Get a directory structure (using "For each Dir in dirlist(Root&'\*')") and load it in a QV table.
Can someone help me with a syntax?
Thanks.
Arunas T.
try this:
sub DoDir (Root)
load '$(Root)' as DirName
autogenerate 1;
for each Dir in dirlist ('$(Root)\*' )
call DoDir (Dir)
next Dir
end sub
call DoDir ('D:')
try this:
sub DoDir (Root)
load '$(Root)' as DirName
autogenerate 1;
for each Dir in dirlist ('$(Root)\*' )
call DoDir (Dir)
next Dir
end sub
call DoDir ('D:')
Thank you! It worked.