alhassani54
Programmer
Hi
I want to write the list of files from a directory in order to a file (file name = sds) and read the file (sds) line by line to print the list.
i.e.
Directory contains the following files
A10
A100
A150
A20
A200
A250
A30
A300
A350
I want to write them to a file (sds) in order
A10
A20
A30
A100
A150
A200
A250
A300
A350
Then read them from the file (sds) as the same way as the order on the file (sds).
Thank you
I want to write the list of files from a directory in order to a file (file name = sds) and read the file (sds) line by line to print the list.
i.e.
Directory contains the following files
A10
A100
A150
A20
A200
A250
A30
A300
A350
I want to write them to a file (sds) in order
A10
A20
A30
A100
A150
A200
A250
A300
A350
Then read them from the file (sds) as the same way as the order on the file (sds).
Thank you