Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 4
    What am I doing wrong? $>refreshenv 'refreshenv' is not recognized as an internal or external command, operable program or batch file. Commented Aug 6, 2017 at 7:29
  • @aclokay Not sure. Please provide more detail about ur system conf to debug. Meanwhile you can refer to a similar open issue here. github.com/chocolatey/choco/issues/250 Commented Aug 10, 2017 at 15:59
  • It doesn't work for me neither. I'm on W7 professional, maybe it only works in more complete versions. Commented Oct 19, 2017 at 7:49
  • 3
    It doesn't work out of the box. You have to have Chocolatey already installed, which installs the refreshenv script. Saying "In windows 7/8/10" is misleading Commented Nov 7, 2017 at 21:38
  • 6
    If refreshenv prematurely exists your script (as it did for me), you can use "call RefreshEnv.cmd" instead. (see github.com/chocolatey/choco/issues/1461) Commented May 25, 2018 at 12:13