Results 1 to 4 of 4

Thread: A LISP routine for runing a batch file ?

  1. #1
    I could stop if I wanted to
    Join Date
    2005-08
    Posts
    378
    Login to Give a bone
    0

    Cool A LISP routine for runing a batch file ?

    Is anyone able to assist me with the string required to activate/ trigger/ run a batch file ?
    I have been looking at the startapp though a bit lost.

    Any assistance is greatly appreciated.


    regards

    Stephen

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: A LISP routine for runing a batch file ?

    Try:

    Code:
    (startapp "c:\\batch\\test.bat")
    R.K. McSwain | CAD Panacea |

  3. #3
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    487
    Login to Give a bone
    0

    Default Re: A LISP routine for runing a batch file ?

    Define External Commands:

    When you enter an external command, AutoCAD looks for the command in acad.pgp. The first section of acad.pgp defines external commands. You can add command definitions by editing acad.pgp in an ASCII text editor (such as Notepad). To open the PGP file, on the Tools menu, click Customize » Edit Program Parameters (acad.pgp).

    see Autocad Help for more info.

  4. #4
    I could stop if I wanted to
    Join Date
    2005-08
    Posts
    378
    Login to Give a bone
    0

    Default Re: A LISP routine for runing a batch file ?

    Thanks guys, greatly appreciated.

    Regards

    Stephen

Similar Threads

  1. Lisp routine batch plotting AutoCAD 2012-14
    By HDC0NY in forum AutoLISP
    Replies: 0
    Last Post: 2014-04-17, 01:04 PM
  2. Replies: 4
    Last Post: 2013-06-21, 09:46 PM
  3. opening a .dwg OR .dwt file AND saveas with a lisp routine
    By mmccollum661679 in forum AutoLISP
    Replies: 2
    Last Post: 2012-08-24, 01:21 PM
  4. Replies: 4
    Last Post: 2008-12-03, 06:39 AM
  5. xref file relocation lisp routine
    By kgano in forum AutoLISP
    Replies: 3
    Last Post: 2005-04-15, 12:24 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
  •