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

0 Members and 1 Guest are viewing this topic.

andrew..

  • Newt
  • Posts: 24
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: 12906
  • London, England
Assuming a UNC path -

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

andrew..

  • Newt
  • Posts: 24
thank you, sir