I am trying to delete a directory using the commands DeleteFile & RemoveDirectory, but I get 'Access is denied.' or 'The process cannot access the file because it is being used by another process.'

I am using WinNT4(sp4) VC6 (sp2). The program I am writing is MFC based.

Thakn you for your time.


Peter Tewkesbury
Software Engineer
NedGraphics Print LTD