.bak Files
.bak Files
(OP)
Is it possible to have a seperate location for the .bak files to be stored instead of right next to the .dwg file?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: .bak Files
I don't think so and I know it is'nt the best. I've nearly gotten rid of a drawing a couple of times instead of the .bak file.
It would be good to know if anyone else has an answer.
Haggis
RE: .bak Files
RE: .bak Files
If you don't want the .bak files, try <Tools> <Options> <open and Save tab> uncheck the box for "Create backup for each save".
You still have your auto save in case of disasters. I agree with you, the .bak files are an annoyance.
Haggis
RE: .bak Files
RE: .bak Files
To save the .bak files elsewhere after any save operation (save, quick save, and save as) you need to use the MOVEBAK Express Tool. You must key-in MOVEBAK or go to the Express menu>select tool>then move bak files>then give it the location (path) for the .bak file.
imhuge999 (AKA Jingles)
RE: .bak Files
staying busy?
thanks for the idea, it would be something to make a button or maybe write a lisp to do that automatically. i open and save too many files a day for it to be worth the hassle
RE: .bak Files
The MOVEBAK command is not compatible with autolisp in a command but there is a way around it. From Autodesk's site:
The following example runs the MOVEBAK command from the AutoCAD Express Tools and sets the directory.
(defun S::STARTUP ( )
(setq scrfile (open "c:\\temp\\mb.scr" "w"))
(setvar "filedia" 0)
(setvar "cmddia" 0)
(write-line "movebak" scrfile)
(write-line "c:/temp" scrfile)
(write-line "filedia 1" scrfile)
(write-line "cmddia 1" scrfile)
(close scrfile)
(command "script" "c:\\temp\\mb.scr")
(princ)
)
Movebak is a pain to bother with. I think it is easier to sort files by type then select all the .bak files and delete them at the end of the day or even periodically throughout the day. Our system is backed up nightly and the files are on my local station as well as the server. I do not think the .bak files are worth keeping in my case and it sounds like we have similar situations.
Perhaps another alternative to deleting them is to move them to a .bak folder periodically so if you need them they are there but they are not "in the way".
imhuge999
RE: .bak Files
RE: .bak Files
It has been like this since at least R14 IIRC and I have no idea why AutoDesk has not changed it to give you the ability to relocate .bak files. They have made other excellent updates but perhaps this is inferior to other ideas on the list.
RE: .bak Files
RE: .bak Files
RE: .bak Files
RE: .bak Files
RE: .bak Files
Rocky
RE: .bak Files
RE: .bak Files
Are there other ways to clear the hard drive of .bak files if you cannot access a DOS prompt or use the search feature? I have worked for places in the past where I could only access AutoCAD and Ideas. I couldn't so much as check the date using the task bar clock without getting the loud 'ping' and a 'this feature has been disabled' window let alone a DOS prompt. Perhaps other people are in the same situation and would like an alternative to deleting .bak files individually.
RE: .bak Files
RE: .bak Files
Using start
then find
and then files or folders
enter *.bak
and it will list all of the
backup files on your computer
and you can delete them from
that screen menu. Or if you
want you can transfer them to
another folder.
RE: .bak Files
RE: .bak Files
Haggis already said that. The issue is that mrspetos doesn't want to eliminate the .bak files. He wants them to be saved in a different location.
RE: .bak Files
In a DOS command window, type:
copy con MoveBak.bat [enter]
C:
cd \Acad [enter]
xcopy *.bak C:\BakDir /s [enter]
del *.bak /s [enter]
exit [enter]
ctrl-z
Note: the ctrl-z is not spelled out.
You should now be at the DOS prompt again.
You have created a batch file!!
It is called MoveBak.bat.
Put a shortcut to the batch file on your desktop.
Double click the shortcut to copy all bak files to a folder called C:\BakDir and then delete all bak files. Note that the directory structure will be duplicated - each bak file will be in an identically named folder from whence it came.
RE: .bak Files