How to delete SCRATCH files?


I generated some SCRATCH files and don’t know where and how to delete them. The SCRATCH files have eaten most space of my Drive C:.

The SCRATCH files are opened by PGI Fortran code like this:

 Open (200,status="SCRATCH",form="unformatted")

Please help me. Thanks a lot!


Hello guys,

I found them by myself. They are located in “C:\Documents and Settings\Username\Local Settings\Temp” or “C:\WINDOWS\Temp”.



Hi Bingray,

They are located in whatever directory the “TEMP” environment variable is set to.

  • Mat