I have an app that’s in C# that sets user environment variables
PCManufacturer and PCModel
I need to be able to read the values from the variables in a batch file. How do I do this?
I have tried %PCManufacturer% and %PCModel% but they didn’t work.
Go to a command prompt and execute the SET command. Verify that PCManufacturer and PCModel are in the list, and that they are set to actual values.