zuhaib Posted October 14, 2014 Posted October 14, 2014 I have some problem in move back file ...... Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 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? Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 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... Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 What do you mean "it does not work it does not open"? Are you trying to open the BAK file? Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 yup i m trying to open it but its not openning as should be open................ Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 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? Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 dear i changed extension from bak to DWG ...... but its not working.......... Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 Yes, it does work; I know because I just tested it. Attach a copy of the BAK file to your next post. Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 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 .... Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 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? Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 yes ! after changing the extension... i m tryning to open the file by double clicking on it ..... my origional file are missed ........................... Quote
ReMark Posted October 14, 2014 Posted October 14, 2014 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. Quote
zuhaib Posted October 14, 2014 Author Posted October 14, 2014 i have missed my original files and ye i m tryng to open it by double clicking ......... Quote
rkent Posted October 14, 2014 Posted October 14, 2014 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. Quote
RobDraw Posted October 14, 2014 Posted October 14, 2014 ... 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. Quote
hanhphuc Posted October 15, 2014 Posted October 15, 2014 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 Quote
Recommended Posts
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.