Author Topic: its been 5 years since i last wrote code, little rusty some easy help please  (Read 87 times)

0 Members and 1 Guest are viewing this topic.

andrew..

  • Mosquito
  • Posts: 17
trying to write a simple print lisp
i know i have the setq code wrong. i just dont remember the syntax for having the forward slashes in the variable is supposed to look like.

Code: [Select]

(setq loc "\\NEWOTHO\MFG")


(command "plot" "Y" "MODEL" loc "Letter" "Inches" "PORTRAIT"
 "N" "L" "Fit" "center" "Y" "monochrome.ctb" "Y" "As Displayed" "N" "N" "Y")

thanks

Lee Mac

  • Seagull
  • Posts: 12151
  • London, England
Assuming a UNC path -

Code: [Select]
(setq loc "\\\\NEWOTHO\\MFG")

andrew..

  • Mosquito
  • Posts: 17
thank you, sir