PlatformIO CLI problem with PATH on Windows 10 -SOLVED

at the page https://docs.platformio.org/en/latest//core/installation.html#windows the doc shows the following
You need to edit system environment variable called Path and append C:\Users\UserName\.platformio\penv\Scripts; path in the beginning of a list (please replace UserName with your account name).

To solve PlatformIO CLI problem with PATH What I have found is that you DON’T put a ‘ ; ‘ semicolon at the end but you DO put a ‘ \ ‘
 C:\Users\UserName\.platformio\penv\Scripts\ and this is a back-slash , (not the forward // slash that you may be more used to using) THEN restart widows.

How I got there was go to the search in the lower left, corrner in Windows-10 , type in environment variables, click on the thing that pops up, do the work, save and save in both boxes, then RESTART Windows. Restart may not be necessary as I tried a number of times and by the end I was restarting as a matter of course. Hope this help you to solve PlatformIO CLI problem with PATH on Windows

Loading

Please share it. Thanks!