This content has been marked as final. Show 2 replies
I am using the below mentioned code to read QV log files from folder.
Sub DoDir (Root)
//for each Ext in 'qvw', 'qvo', 'qvs', 'qvt', 'qvd'
for each Ext in 'log'
for each File in filelist (Root&'\*.' &Ext)
Load '$(File)' as Name
for each Dir in dirlist (Root&'\*' )
call DoDir (Dir)
call DoDir ('\\production\d$\QV App') ;
Load Left(Name,-1) as Name1
There are subfolder under "QV App" folder from where I am reading the logs. It is working fine but the problem is this cose is pulling all the log files from subfolders also. I specifically want to pull only from "QV App" folder and not from subfolders.
Thanks in advance.