Arc Forumnew | comments | leaders | submitlogin
1 point by eds 5672 days ago | link | parent

That batch file works, thanks!


1 point by almkglor 5671 days ago | link

Out of curiousity: does it work even if you're on a different hard drive/directory as the installation drive/directory? The intent of that batch file is to allow you to launch Arc from anywhere, while still (1) able to access the current directory and (2) able to load library files from the arc installation directory

-----

1 point by eds 5671 days ago | link

Yes, the batch file loads fine from another drive letter.

  E:\>"C:\User\Programming\Arc\arc3f\arc-f\arc.bat"
  Use (quit) to quit, (tl) to return here after an interrupt.
  <User>tl:
That said, I am not sure how to test that it can load files in both directories... especially with the new behavior of 'using.

-----

1 point by almkglor 5671 days ago | link

Try on different directory:

  E:\> copy con tmp.arc
  (prn "hello world!")
  ^Z                       <---- that's a control-Z
  E:\> "C:\User\Programming\Arc\arc3f\arc-f\arc.bat"
  Use (quit) to quit, (tl) to return here after an interrupt.
  <User>tl: (using <files>v1)
  t
  <User>tl: (ls)
  ("tmp.arc")       <--- you should get a list of files and stuff in the current directory, including tmp.arc
  <User>tl: (load "tmp.arc")
  hello world!
  nil
  <User>tl:

-----

1 point by eds 5663 days ago | link

Works perfectly :-)

-----