Somehow it seems that in Revit 2012 not always the journal files get deleted as you might want it to.
Over time this will make the folder with the journal files pretty big, so you might want it to be automatically cleaned.
so here is a small trick.
open a text editor (i prefer to use Notepad ++ ) and write the following:
Here you put in the parameter USERNAME (so you replace the d.van.wettum) with the correct name for your path, and change the part "Autodesk Revit Structure 2012" depending on your revit version (Structure/MEP/Architecture)
Example file can be downloaded Here
Please note that the folder "users" is a hidden folder on some systems, and may also be shown with a different name depending on the languish of the computer, you might want to write it down manual in the navigation bar.
although it might display different when browsing windows, the "users" folder should work
The /p behind the lines makes sure it will prompt for confirmation if your sure to delete the file. PLEASE NOTE THAT YOU DELETE TROUGH A BATCH FILE. DELETED FILES WILL NOT GO TO TRASH BIN. GONE = GONE **use at your own risk, if you by accident delete more files i can not be held responsible.**
Save the code as a .bat file. If you run it, it will clean your journal folder.
(whats the use of these journal files anyway i wonder, besides checking them in rare cases once revit has crashed...)
Make it automatic run
There are 2 ways of making it run automatically. The first one (A) is to put the batch file in in the start->Startup folder.
Right click startup and "open location" to be able to copy the batch file into it. now it will run automatically every time the computer boots.
The Second method is (B)trough windows task. This will give you some more options like: once a week, or with specific triggers, and so on.
In win7 this can be found by hitting the start and writing "task" and you'll see pop it up in the list. again, different languish settings will need a different search term to be able to bring you to the right menu.
Once you opened the task setting, in the right menu you can add a new task. For the actions you just select the batch file, everything else you can customize to you likings.