Update 2020 Revit Cache file (BAT file)
@ echo off @ echo 2021-06-02v01.00 :: Hard-coded revit ini file to the 'builder' locaton for the Revit ini (cached locaiton) :: This script should move the esisting one to a dated RECORD\yyyy-mm-dd folder and copy the :: NNEW Revit ini file in it place. set RevitINI = "\\ktgyir-a-cad\BIM\_Deployments\Autodesk\REVIT\2020\Revit-KTGY.ini" @ echo - Checks If file/folder exists for 2020 Ktgy-Revit.ini if that doesn't exist exit :::Visual file check will show 0 files if doesn't exist: :::dir "%revitINI%" :::pause ::If the Revit ini file doesn't exist - exit out - good if source cannot be found if not exist %RevitINI% goto :ExitNoFile @ echo . @ echo FOUND: %RevitINI% @ echo Proceeding... @ echo . ::Working Revit INI Backup folder - Tpical of revit (Version # varies) ::Make the record folder for the Revit.ini cached version- set RecordFP = c:\ProgramData\Autodesk\RVT 2020\UserDataCache\RECORD if not exist " %RecordFP% " mkdir ...