Jump to content

Using server path in Autolisp


Recommended Posts

Hello people i have problem with using server path in autolisp.

Everything work fine with normal path like "G:\Trudy-menu\ ...." but i cant use "\\46.48.10(random IP)\Network\Trudy-menu\.... if someone can help i will be glad.


I want to get files from the path and create folders if it need.


Thank you. :) 

Link to comment
Share on other sites

\\  translates to \  in lisp so you might need "\\\\46.48.10(random IP)\...






AutoLISP control characters
Code Description
\\  = \ character
\" = " character
\e = Escape character
\n = Newline character
\r = Return character
\t  = Tab character


Edited by mhupp
Link to comment
Share on other sites

16 hours ago, mhupp said:

ooo another way.


 (strcat (chr 92) "46.48.10random IP\...")

I use strcat chr for file paths in macros because if they worked when tested on the command line they would work in the macro!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...