Problem with script file executing single line, only

Discussion in 'AutoCAD' started by ljmeek, Jan 24, 2007.

  1. ljmeek

    ljmeek Guest

    I hope someone can help.

    I've written a script file that closes the current drawing, opens a new
    drawing then executes an Autolisp routine. The Autolisp routine works
    fine when run manually from inside a drawing.

    However, when I run the script, the current drawing is closed, the new
    drawing is opened, the Autolisp routine works fine, but then the script
    stops. If I try to run the script again, it seems as if the first
    character from the next line is prefixed to anything that I type.

    ---the script file---
    quit y
    close open "g:\il33022" (load "c:\\fastdump")
    close open "g:\il33025" (load "c:\\fastdump")
    close open "g:\il33032" (load "c:\\fastdump")
    close open "g:\il33038" (load "c:\\fastdump")
    close open "g:\il33041" (load "c:\\fastdump")

    Has anyone seen this before or know of a fix?

    Thanks.
     
    ljmeek, Jan 24, 2007
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.