Jump to content

Recommended Posts

Posted

We will need more complete information about what you are attempting to do before we can help you. Are you referring to backup files created by AutoCAD?

Posted

i want to make bake up file for my cad drawing thatswhy i apply movebak command and gave the location of folder. but when i check the bake up file it does not work it does not open........

it look like that...

bak.jpg

Posted

What do you mean "it does not work it does not open"? Are you trying to open the BAK file?

Posted

yup i m trying to open it but its not openning as should be open................

Posted

No, it should not open UNLESS you change the file extension from BAK to DWG by renaming it. And why would you be trying to open the file in the first place? What exactly are you trying to accomplish?

Posted

dear i changed extension from bak to DWG ...... but its not working..........

Posted

Yes, it does work; I know because I just tested it.

 

Attach a copy of the BAK file to your next post.

Posted

yes dear i also tested. it is working in my laptop.....but it should be work in my pc ... which is not working .....

when i openning after change the extension into DWG .... its giving me message like this ....

123.jpg

Posted

If AutoCAD cannot find the file how do you expect it to open?

 

How are you trying to open the file? By double clicking on it?

 

Why are you trying to open a BAK file anyways if you have the original file?

Posted

yes ! after changing the extension... i m tryning to open the file by double clicking on it .....

my origional file are missed ...........................

Posted

I'm not going to ask how you managed to lose your original files.

 

Give me a before and after example of how you renamed the file. In the meantime I'll test this myself one more time. Did you try navigating to the folder from within AutoCAD to find and open the drawing?

 

My test worked as expected. I found my BAK file in the temporary folder where I had AutoCAD now storing my backup files. I changed the BAK extension to DWG then double clicked on the file and it opened with no problem. If you cannot get the file to open then you have done something wrong. Try again.

Posted

i have missed my original files and ye i m tryng to open it by double clicking .........

Posted

The file extension is not showing in your windows setup so when you rename the file you are actually getting

E-01.DWG.BAK

 

First set Windows to show file extensions, then rename the file, then it will work as expected.

Posted

... and stop double clicking to open files. It could cause problems, if you have multiple programs that open the same file types. If you really want to open from Windows Explorer, use the right click menu.

Posted

hi, this simple LISP simply open .bak rename to .dwg that's all.

example: Drawing1.bak --> Drawing1_bak1.dwg

Not for AutoCAD LT

(defun C:bak (/ fn path dwg)
 (if (not *temp_count*)
   (setq *temp_count* 0)
   ) ;_ end of if
 (if (setq fn (getfiled "Select file" "" "bak" 2))
   (setq path (strcat (vl-filename-directory fn) "\\")
  dwg  (strcat path
	       (vl-filename-base fn)
	       "_bak"
	       (itoa (setq *temp_count* (1+ *temp_count*)))
	       ".dwg"
	       ) ;_ end of strcat
  fn   (Vl-file-copy fn dwg t)
  ) ;_ end of setq
   (princ "Failed! *cancel*")
   ) ;if
 (terpri)
 (if path
   (command "shell" (strcat "explorer \"" path))
   ) [color="blue"]; optional: open the destination folder[/color]
 (princ)
 ) ;bak

HTH

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...