Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Open Drawing read-only from Explorer

  1. #1
    Certified AUGI Addict rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Houston
    Posts
    7,519

    Default Open Drawing read-only from Explorer

    For those of you who like to open drawings directly from Windows Explorer, here is a method of opening those drawings in a "read-only" state.

    1. Create a file containing only the following three lines
      attrib +r %1
      %1
      attrib -r %1
    2. Save it as "c:\acadro.bat"
    3. In Windows Explorer, go into Tools, Folder Options, File Types, scroll down to DWG.
    4. Click Advanced.
    5. Click New.
    6. Under Action, put "Open Read-Only"
    7. Under "Application...", put "C:\acadro.bat" "%1" (with the quotes)
    8. Click OK twice, then Close.
    9. Now when you right click on a DWG file, choose Open Read-only.


    Tested with WinXP, Win2K, AutoCAD 2006, and Civil3D 2006

  2. #2
    I could stop if I wanted to
    Join Date
    2006-01
    Location
    Land of chocolate
    Posts
    228

    Talking Re: Open Drawing read-only from Explorer

    Oooooh - good one

    10 point from the belgian jury

  3. #3
    I could stop if I wanted to
    Join Date
    2006-01
    Location
    Land of chocolate
    Posts
    228

    Default Re: Open Drawing read-only from Explorer

    Quote Originally Posted by rkmcswain
    1) I wonder to which thread Buffeldrek's comment applied?
    I applied to the content of the post of the opening thread - of the batch file. It is a good tip
    Last edited by Mike.Perry; 2006-08-13 at 10:19 PM. Reason: [QUOTE] tags fixed.

  4. #4
    Certifiable AUGI Addict Robert.Hall's Avatar
    Join Date
    2004-07
    Location
    Detroit Michigan
    Posts
    2,510

    Default Re: Open Drawing read-only from Explorer

    Great tip.....this should come in handy.

  5. #5
    Woo! Hoo! my 1st post
    Join Date
    2009-05
    Posts
    1

    Default Re: Open Drawing read-only from Explorer

    This is a great tip!tried it already,very useful....tnx for the tip!

  6. #6
    Member
    Join Date
    2008-04
    Posts
    6

    Talking Re: Open Drawing read-only from Explorer

    Just got your post and it is very good one. It is my problem when opening so many files and I dont want to lost my current folder location in opening files directly from CAD but need to open as read-only other files from differet location. Your tip was very helpful, thank you very, very much!!

  7. #7
    Member
    Join Date
    2009-11
    Posts
    4

    Default Re: Open Drawing read-only from Explorer

    i trayed it but the drawing open with auto cad 2009 not from Explorer

    sorry for bad english

  8. #8
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,027

    Default Re: Open Drawing read-only from Explorer

    Quote Originally Posted by m_el_mansy2003 View Post
    i trayed it but the drawing open with auto cad 2009 not from Explorer.
    opening a dwg file FROM explorer will always open it WITH autocad.
    John B

    "With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg.

  9. #9
    I could stop if I wanted to
    Join Date
    2007-05
    Location
    Brookfield WI
    Posts
    331

    Default Re: Open Drawing read-only from Explorer

    This is a handy little tip

  10. #10
    Administrator RobertB's Avatar
    Join Date
    2001-08
    Location
    Dallas TX USA
    Posts
    5,825

    Lightbulb Re: Open Drawing read-only from Explorer

    Quote Originally Posted by rkmcswain View Post
    For those of you who like to open drawings directly from Windows Explorer, here is a method of opening those drawings in a "read-only" state.

    1. Create a file containing only the following three lines
      attrib +r %1
      %1
      attrib -r %1
    2. ...


    Tested with WinXP, Win2K, AutoCAD 2006, and Civil3D 2006
    R.K. I think this is a great tip too. However, I've seen the need to delay the resetting of the attribute.

    Advise the following:
    Code:
    @echo off
    attrib +r %1
    %1
    ping -n 5 127.0.0.1>nul
    attrib -r %1
    R. Robert Bell
    Design Technology Manager
    S P A R L I N G
    Opinions expressed are mine alone and do not reflect the views of Sparling.

Page 1 of 2 12 LastLast

Similar Threads

  1. Open drawing read-only via command line
    By JasonSelf in forum AutoLISP
    Replies: 34
    Last Post: 2009-01-12, 04:55 AM
  2. Open read only turns into actual live drawing
    By Steve_Bennett in forum AutoCAD General
    Replies: 18
    Last Post: 2007-04-24, 08:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •