+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Full Member
    Using
    AutoCAD 2012
    Join Date
    Sep 2011
    Posts
    56

    Default Command to Save a file with a specific name using a single command

    Registered forum members do not see this ad.

    I need to save a drawing file and give it the name of my desire using a single command, I don't want to issue "saveas" and then specify the name in the file name prompt. This problem is has been faced when I was using ScriptPro and I couldn't succeeded to do that. Hence I need to know if it is feasible to do the stuff using a single command. It will be preferred if I can choose the location to save the file also rather than save the file to the default location.

  2. #2
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,071

    Default

    you can turn the file dialogue by setting FILEDIA=0. Once that is done you can supply the file name on the command line. If the file location & name don't have any spaces in them you can supply the name directly from script but if there are spaces enclosing the name in quotation marks ("....") is necessary.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  3. #3
    Full Member
    Using
    AutoCAD 2012
    Join Date
    Sep 2011
    Posts
    56

    Default

    Registered forum members do not see this ad.

    Thank you Mr. dbroada, Now I can do that.

Similar Threads

  1. Save As Command is requesting a file format
    By airforceguardian in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 6
    Last Post: 21st Apr 2011, 03:09 pm
  2. Open and Save command causes "Unknown Command" error
    By andythoms in forum AutoCAD General
    Replies: 5
    Last Post: 12th Nov 2010, 05:00 pm
  3. Lisp Command For Setting The Auto File Save Location
    By ReinierMeyer in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 10th Nov 2009, 04:15 am
  4. zoom extent to all viewport in single command
    By neerajkumar in forum AutoCAD General
    Replies: 1
    Last Post: 21st Sep 2009, 07:42 am
  5. Unable to save file "command in use"
    By Scale in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 17th Jul 2006, 03:02 pm

Bookmarks

Posting Permissions

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