Results 1 to 4 of 4

Thread: getdir(SCRIPTSDIR);

  1. #1

    getdir(SCRIPTSDIR);

    Hi?
    Wasn't getdir(SCRIPTSDIR); to get the running script folder?

    It return the legacy script folder...

    Need help to refresh my brain...

  2. #2
    Hi,
    Hmm, really need to get the executing script folder.
    Any idea?
    Thx

  3. #3
    Super Member Kryslin's Avatar
    Join Date
    Feb 2009
    Location
    Prescott, IA
    Posts
    1,529
    Try the SCRIPTID constant? You'll have to extract the path from the full path and file name returned...

    http://www.mikegreen.name/Lscript/So...s.htm#SCRIPTID
    --------
    My Scripts for Lightwave
    Intel Core i7 960 @3.20 Ghz, 24 GB ram, EVGA 6GB GTX980Ti "Classified" driving 2 x HP LA2405.

  4. #4
    Quote Originally Posted by Kryslin View Post
    Try the SCRIPTID constant? You'll have to extract the path from the full path and file name returned...

    http://www.mikegreen.name/Lscript/So...s.htm#SCRIPTID
    Thank you, That's it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •