I have an autolisp program that accesses an excel database.
The excel database file is located on a network drive at the company I work at.
The way it works is that each computer has a letter designation for a specific drive (i.e. C:\ , D:\). The letter designation is mapped to a specific network drive. This mapping is the "real" location of the drive.
For example one of the drives I have is G:\ . It is mapped to \\pafs02\vol2\dept\re\res .
In my lisp file I currently use the address G:\ to find the excel database. However, I would like to use the address \\pafs02\vol2\dept\re\res . This way if somone has this address tied to a different letter designation, say D:\, they will still be able to access the file.
But when I put the address, \\pafs02\vol2\dept\re\res , in my lisp program it gives me an error saying it cannot find the file.
Any ideas of why this is and how I can fix it?
Note: in my lisp code the address is written as "\\\pafs02\\vol2\\dept\\re\\res"
Solved! Go to Solution.
Try a quad-backslash at the start; each pair is a format+character.
If you are going to fly by the seat of your pants, expect friction burns.
Adopt. Adapt. Overcome. Or be overcome.