CAMcad_Logo


Home | Products | Services | Support | Affiliates | Events | About Us | e-support

                    

Backup Batch File

Tired of manually backing up your SURFCAM Support Files?

This batch file will automatically backup the Primary SURFCAM Support files.

Since SURFCAM can be installed in many locations we have made this script to run from the SURFCAM folder, no matter where it is installed.

Create a Surfcam-Backup.txt file in your SURFCAM Folder

Open the Surfcam-Backup.txt file

Copy the Script below and paste it into the txt file

Save and close the file

Rename the file to Surfcam-Backup.bat

Double click the Surfcam-Backup.bat file, a DOS window will appear displaying the running script.

A copy of your Primary SURFCAM Support Files will be copied into a C:\SurfcamBakupFiles\ folder.

You may edit this script to have a different destination folder or add additional files to be copied.

**********************************************
; Place this file in your SURFCAM folder

CD Postlib

xcopy "postform.m" "c:\SurfcamBackupFiles\" /Y
xcopy "postform.e" "c:\SurfcamBackupFiles\" /Y
xcopy "postform.l" "c:\SurfcamBackupFiles\" /Y
xcopy "uncx*.*" "c:\SurfcamBackupFiles\" /Y

CD ..

CD Velocity4

xcopy "colors.ini" "c:\SurfcamBackupFiles\" /Y
xcopy "hotkeys.ini" "c:\SurfcamBackupFiles\" /Y
xcopy "surfcam.pst" "c:\SurfcamBackupFiles\" /Y
xcopy "surfcam.ini" "c:\SurfcamBackupFiles\" /Y
xcopy "dgtztlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "drilltlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "edmtlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "lathetlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "ldrlltlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "material.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "milltlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "material.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "plungeroughtlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "threadmilltlb.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "material.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "srmmat.mdb" "c:\SurfcamBackupFiles\" /Y
xcopy "srmtlb.mdb" "c:\SurfcamBackupFiles\" /Y

CD Mpost

xcopy "post.ini" "c:\SurfcamBackupFiles\" /Y

CD ..
CD Spost

xcopy "config.tbl" "c:\SurfcamBackupFiles\" /Y

CD ..
CD SDNC

xcopy "sdnc.sdnccfg" "c:\SurfcamBackupFiles\" /Y

**********************************************

Products | Services | Support | Affiliates | Events | About Us | e-support

Copyright © 2009 CAMcad Technologies, Inc. All rights reserved. - Hosted at NightTime IT.com - Windows Server 2008 x64