GetFileList is collecting all files types in a folder

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
BillSolomon
Newbie
Posts: 1
Joined: Mon Apr 21, 2008 12:31 pm

GetFileList is collecting all files types in a folder

Post by BillSolomon » Thu Jan 11, 2018 7:18 pm

Let>GFL_TYPE=0
Let>file_folder=V:\app\Oracle\ODC\commit\5\*.pdf
GetFileList>%file_folder%,strFileList5,%CRLF%

The above code is collecting all file types with that folder.!!!!

User avatar
Meryl
Staff
Posts: 124
Joined: Wed Sep 19, 2012 1:53 pm
Location: Texas
Contact:

Re: GetFileList is collecting all files types in a folder

Post by Meryl » Mon Jan 15, 2018 2:48 pm

[deleted]
Last edited by Meryl on Mon Jan 22, 2018 3:56 pm, edited 1 time in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: GetFileList is collecting all files types in a folder

Post by Marcus Tettmar » Mon Jan 15, 2018 5:36 pm

I am unable to replicate but note that there was a fix in 14.3.10 in February 2017 which fixed this issue. I'm guessing therefore that your version is out of date. https://www.mjtnet.com/mswhatsnew.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts