get environment variable - Kdb+ / qStudio

Home Forums Kdb+ / qStudio get environment variable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #216

    Michael
    Guest

    Hi,

    In my script I want to dynamically specify the output file that the table gets saved as.
    I then want the parent directory to come from the environment variable $LOG_DIR, how can I do this?

    Thanks
    ~Mike

    #217

    admin
    Keymaster

    getenv

    getenv `LOG_DIR

    q)getenv `PATH
    "C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Windows\\syst..

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.