Re: Get a list of files in a directory?

2021-08-18 Thread wsw
Thanks gentlemen. I used Mike's example. On Wednesday, August 18, 2021 at 11:05:23 AM UTC-4 mvr...@zumasys.com wrote: > Hello, > > You can do something like this: > > > > OPEN '.' TO CurDir ELSE STOP 201,'.' > > > > SELECT CurDir > > > > and then inspect the results in a LOOP WHILE

RE: Get a list of files in a directory?

2021-08-18 Thread Mvreply
Hello, You can do something like this: OPEN '.' TO CurDir ELSE STOP 201,'.' SELECT CurDir and then inspect the results in a LOOP WHILE READNEXT. Mike From: jbase@googlegroups.com On Behalf Of wsw Sent: 18 August 2021 13:54 To: jBASE Subject: Get a list of files in a directory? Does anyone

Re: Get a list of files in a directory?

2021-08-18 Thread Dick Thiot
If this directory exists within your PATH environment then you can just select it and process like any other select list. The other option is to provide the full path to the directory. Are you are Linux, AIX or Windows? On Wed, Aug 18, 2021 at 9:48 AM wsw wrote: > Does anyone have an example

Get a list of files in a directory?

2021-08-18 Thread wsw
Does anyone have an example of how I can loop through a directory and get all the file names? Thanks in advance. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to jBASE@googlegroups.com To unsubscribe, send email to