Posted on 1997-04-02
Is there a procedure I should use to do the following things in Delphi?
I have two files A and B, and I want to:
- Delete file A on disk
- Rename file B as A
I have tried the following code but it doesn't work, it's like if the processor pass throught renaming step because deleting file A is not finished yet (the disk is too slow for the processor in multitasking win95)....
So, if you can help, I will appreciate it :)