I should do get the files of a directory in a stringlist or something like that.
I did not find any Delphi function to do that. So
I wrote dos a batch file and execute it from my app.
with the winexec command. There would be no problem for me If dos application closes when my main application closed.
I run it like this
When I press Ctrl+Alt+Del I see winoldapp
If I execute batch file several times inside my application then the number of winoldappsincereasing and leading the system to low resource problem
First of all
How can I get directory list with a windows funtion (without a shell program)
Then How can I get rid of winoldapps when I shell a command.
Because I will use a shell batch file other than getting directory.
Helps will be appreciated
Thanks in advance