delete temp files?

delete temp files?

Anonymous
Not applicable
11,322 Views
2 Replies
Message 1 of 3

delete temp files?

Anonymous
Not applicable

Currently Revit caches model files to the local My Documents folder which eventually fills up the hard disk. It would be nice to have built in functionality that deletes files older than x days, or if there is a different solution to this problem, what is it?

0 Likes
11,323 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable

Just time to time delete them....

 

Same with C:\Users\<username>\AppData\Local\Autodesk\Revit\Autodesk Revit 20XX\Journals

 

and 

 

C:\Users\<username>\AppData\Local\Temp

0 Likes
Message 3 of 3

ToanDN
Consultant
Consultant

Use Notepad to create a .bat file contains the following code:

 

forfiles /p "C:\test" /m "*.*" /c "cmd /c del @Anonymous" /D -7

 

 

C: is the target drive letter

\test is the target folder

/D -7 is for files older than 7 days