Hey,
I got 2 questions.
First, is it possible to delete files and directories without using the WINAPI.
Secondly, how can i check if its a directory when i use WINAPI.
Thx
Grtz
Hey,
I got 2 questions.
First, is it possible to delete files and directories without using the WINAPI.
Secondly, how can i check if its a directory when i use WINAPI.
Thx
Grtz
Hi.
For your first question, have you tried;
File.ERASE(filename with full path, name and extension);
Secondly, not sure how you can achieve this. Maybe someone else knows?
Thx for the fast response. I ve ended up doing it with the WINAPI class in Dynamics. The second question can be resolved by using the folderexists method an to be sure its a directory , u can use the getfileattributes method and check it with the right attribute.