Hi, I'm Anthony.
And I have a project which is to create a cleaning software, like Ccleaner, I have used the DeleteDirectory function.
The problem is that I want to delete for example the history of microsoft edge, the data is in, AppData / Local / Microsoft / Edge / Default folder, what I want to do is that when I make it delete, look for the user's folder , not mine, that's why I use %userprofile%, but when using it, it doesn't find the file.
Another thing, how can I delete an individual file?
I am new, and Free Pascal, I found it very easy to understand and use.
Greetings to all!...