This ExpressTools command for AutoCAD changes the destination directory for BAK files. Instead of ending up in the same directory as the DWG file the BAK file can be placed in another directory.
Command: MOVEBAK
New value for MOVEBAK, or . for none <>: d:\temp
Command: _QSAVE
Unable to transmit selected drawing file. (I have no idea why this message comes, the bak file is actually placed in d:\temp)
Command: MOVEBAK
New value for MOVEBAK, or . for none <d:\temp>: .
Here is how you can set the path using AutoLISP:
(setenv "AcetMovebak" "c:\\temp")
>>
ReplyDeleteCommand: _QSAVE
Unable to transmit selected drawing file. (I have no idea why this message comes, the bak file is actually placed in d:\temp)
>>
tools/autolisp/autolispeditor
open movebak.lsp
remove "Not a directory: %1"
but leave ""
this way, no annoying mssgs wil be displayed :P
Greets, Maleficen
Is there a way to define the movebak file path in the lisp command for a networked user?
ReplyDeleteD:\Documents and Settings\USERNAME\local settings\ temp
I want to create a button that will automatically move the bak file to the location defined above. The problem is that the USERNAME is variable.
(getenv "username") will return the user name. (getenv "temp") will return the whole path.
ReplyDeleteIs it possible to save .bak file into a relative path?
ReplyDeleteTry with a relative path and see.
DeleteTried .\folderdestination
ReplyDeleteInstead of C:\folder1\folderdestination
but doesn´t work