CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 17323

CAD tip CAD tip # 10206:

   
Question CAD 
 %  platform  category 
Q - question

How to batch-delete all OldVersion folders?

A - answer If you need to batch-delete Inventor backup files, i.e. all folders (directories) OldVersions from a given location, you can use the following simple batch file:

  
@ECHO off  
ECHO Remove OldVersions folders:  
for /d /r ".\" %%a in (OldVersions\) do if exist "%%a" (  
 echo %%a  
 rmdir /s /q "%%a"  
 )  
pause  

Copy this contents to a .bat file. Then run this BAT file in the requested folder - e.g. from a DOS window or by doubleclick. This batch removes all "OldVersions" folders in the current location and in all subfolders under it, including the folder contents.

Inventor
100% *  CAD 
13.2.2015    8997×  
Prices - CAD eShop:
applies to: Inventor ·

See also:
Tip 5996:How to suppress files in the OldVersions folders?
Tip 4838:Error loading segment PmBRepSegment in database.
Tip 2675:The Compact function doesn't make my files smaller.


Back   All CAD Tips



Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools More info


Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist