Hi Khan:
Thank you for your response.
>
If your code (prg or form) is in the directory you are trying to erase you wont be able to delete it .>
The prg file is not in the same directory. The directory to be delete is "c:\DeleteThisDirectory".
- Ravi
True greatness consists in being great in little things.
- Charles Simmons