¾ÈÀüÇÏ°Ô Àӽà ÆÄÀÏ Áö¿ì±â
Running out of disk space? This week's tip hands you a batch file for safely deleting unneeded
temp files.
Safely removing temporary files
C++Builder eats up disk space; a small project can generate 5 MB
of temporary files! The compiler and the incremental linker use
these *.il?, *.csm and *.tds files. But when those files become
corrupt, you get the "Unknown Error #1" message.
You can delete the offending files any time with no ill effects.
However, if you delete them manually you might accidentally delete
a file you need. Instead, you can write a small batch file and add
it to the C++Builder Tools menu. First create a small batch file
like this:
Next, choose Tools | Configure Tools... and click the Add button.
In the Tool Properties dialog box, set the Title property to
"Clean-Up", the Program property to "C:\BCBDEL.BAT", and the
Parameters property to "$PATH()".
If you get an Unknown Error #1 message, select Tools | Clean-Up
and exit C++Builder; then start it up again. If you still get the
error, delete the temporary files in the Cbuilder\bin directory
(using BCBDel.Bat) and restart Windows.
Submitted by Sam Azer
http://azer.dsuper.net
|