Filename Limit?

Ibro Vehabovic

Usenet Archive
Joined
Feb 2, 2004
Messages
8
Reaction score
0
(open filename "w")
doesn't work when filename (including path) is too long. Has anyone experienced the same problem?
What is filename limit?

I use AutoCAD 2000.

Thanks,

Ibro V.
 
Most likely, limit is equal to 256 symbols. As well as for any other string variables. Igor Kostiukovitch e-mail:
 
Ibro said:
(open filename "w")
doesn't work when filename (including path) is too long. Has anyone experienced the same problem?
What is filename limit?

It is a bug. The filename limit is 126 characters. The same applies to the lisp funtion (load). As a workaround you can use the (normally shorter) DOS-filename.

Stephan
 
I think Stephan is correct, 126 char's max.
Be sure also to have " (quotes) around the filename to include any (spaces). e.g. (open "c:\\Program Files\\myfile.txt" "w")

Bob
 

Latest threads

Back
Top