Problem with file path

Discussion in 'AutoCAD' started by p.bassetto, Jul 28, 2004.

  1. p.bassetto

    p.bassetto Guest

    I have a simple autoload line, but I can't get autocad to read the correct path (I've tried also replacing"\\" with "/")
    What am I doing wrong?

    (autoload "K:\\areas\\EXP2XLS.lsp" ' ("EXP2XLS"))

    autocad message:
    The file K:areasEXP2XLS.lsp(.lsp/.exe/.arx) was not found in your search path
    folders.

    Thank you
     
    p.bassetto, Jul 28, 2004
    #1
  2. p.bassetto

    Jürg Menzi Guest

    Hi p.bassetto
    It's maybe a typo but should be:
    (autoload "K:\\areas\\EXP2XLS.lsp" '("EXP2XLS"))
    Note, no space between ' and (

    Cheers
     
    Jürg Menzi, Jul 28, 2004
    #2
  3. p.bassetto

    Jürg Menzi Guest

    Not visible in ng reader, repeat...

    Hi p.bassetto
    It's maybe a typo but should be:
    (autoload "K:\\areas\\EXP2XLS.lsp" '("EXP2XLS"))
    Note, no space between ' and (

    Cheers
     
    Jürg Menzi, Jul 28, 2004
    #3
  4. or use list instead of '
    (autoload "K:\\areas\\EXP2XLS.lsp" (list "EXP2XLS"))

    path (I've tried also replacing"\\" with "/")
     
    Alan Henderson @ A'cad Solutions, Jul 28, 2004
    #4
  5. p.bassetto

    p.bassetto Guest

    Thank you for your reply.
    I've tried but the error is still the same. It doesn't look in the folder "areas", it's taking the word as beginning of the lisp file name: K:AREASpl_HANDLES_ALL.lsp
     
    p.bassetto, Jul 28, 2004
    #5
  6. p.bassetto

    MP Guest

    does this work?

    (autoload "K:/areas/EXP2XLS" '("EXP2XLS"))

    path (I've tried also replacing"\\" with "/")
     
    MP, Jul 28, 2004
    #6
  7. p.bassetto

    Jürg Menzi Guest

    Hi MP
    Also recognized, autoload can't work with \\

    Cheers
     
    Jürg Menzi, Jul 28, 2004
    #7
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.