in reply to Access is denied

One possibility (on Windows) is that a virus checker or an indexer may be leaping in and using the files. Are these 50 files always different, or the same ones each time you run?

Since these are C files: there are some occasions where Visual Studio retains locks if (when?) it crashes. Generally opening the file with VS then closing it again (without crashing) should clear it.

Replies are listed 'Best First'.
Re^2: Access is denied
by debugger (Novice) on Jan 05, 2010 at 06:23 UTC
    Yes these 50 files are different always.Sometimes, i get a message on screen saying "virtual memory is low and so windows is trying to increase it and during such process access to some applications is denied". My machine's RAM size is 2GB and virtual memory is MIN:192MB and MAX:384MB. I run a compiler exe on those 12000 unit testcases.