1. for credentials, for example I need to run the first function under local user, then I need to run the 2nd function using a shared user credential. I could do each step separately by using two batch commands if I hard-code the input of the 2nd function, but I want to get the return value of the 1st function to be the parameter in the 2nd function.
2. I only want a string return from the 1st function.
3. I'm writing to run batch file/command line for this automation process, but I don't know how/where to store this return value from the 1st function. Again, I don't want to store the intermediate value in a separate file for security.