locked
Unable to view environment variables after log in into TVM RRS feed

  • Question

  • Hi,

    I tried logging into a TVM and i am unable to view the environment variables. Any help?

    I tried running "set | more" on the command prompt


    Please mark the response as answers if it solves your question or vote as helpful if you find it helpful. http://thoughtorientedarchitecture.blogspot.com/

    Monday, November 30, 2015 3:28 PM

Answers

  • Hi Haripraghash,

    The environment variables are set at a per-user level, and today a different user account is used for RDP and running tasks.  This means your RDP user won't see the environment variables as a task does.

    In order to see the environment variables as a task would, you best bet is to run "cmd /c set > myfile.txt" as as task (where your command line is what is in quotes), and then download the myfile.txt file.

    You can do all of that easily with the BatchExplorer tool if you're familiar with it.

    Hopefully that helps

    • Marked as answer by Haripraghash Tuesday, December 1, 2015 3:13 PM
    Monday, November 30, 2015 6:23 PM