0
In my Windows Embedded 7 Standard installation, I'm setting an environment variable using the synchronous command
REG ADD "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v Name /t REG_SZ /d "Data"
As I have read, I can't access this variable until the next restart of my system. I tried to restart using the following command (I found it here)
cmd /c shutdown /r /f /t 75
This did not work for me. (Also calling the command via the regular Cmd.exe-Window is working.)
Is there any way to restart a Windows Embedded 7 Standard OS using synchronous commands? (Or maybe there are other solutions to the problem of accessing the environment variable?)
Thank you in advance for your answer!