Showing posts with label Windows10. Show all posts
Showing posts with label Windows10. Show all posts

Sunday, November 05, 2017

[Windows] Refreshing Environment variable for windows command prompt or Powershell

Sometimes, after installing a package like chocolatey,or npm packages, it asks you to restart the cmd.exe or powershell window to reload the new registered path, for the new commands/settings to work. 

Well most of the case, it is not a big issue, but sometimes I just hate having to do away with my command history. So whats an easy workaround to do, run refreshenv. 

In cmd.exe (Command Shell) run : 

C:\Windows\system32> refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait... Finished..
In Powershell:


PS C:\Users\parag> refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
PS C:\Users\parag>
Enjoy working in the same window without having to part with your command history. 

Monday, March 30, 2015

Windows 10: Windows Insider Hub

I have been using Microsoft Windows 10 for over two month now. Cortana is a big help and right now I am more or less using it as my "Search" cum "Run-as" feature. The side notification center situated on the task bar is a big help. Quick look up and turning features and settings of my machine on-off. The outlook and calender apps are the most used one at the moment as I could not find much exciting otherwise there. The good news Microsoft will update this to the RTM version of Windows 10 for free. Anyways with VS2014 community edition now also free its good for developers. 

One great thing about the Windows 10 preview built is the Windows Insider Hub app, through which you can give feedback and suggestions directly to the Microsoft team, which is really really cool. I can up vote on features requested by others which they would like to see. There are different categories under which you can directly provide your views and must haves directly to the concerned teams. 

Wednesday, March 25, 2015

Windows 10 preview build Updates

I must say that when I installed and ran the first publicly available build of windows 10 announced in January this year, I was a little upset with the performance of the system. It ran so many apps and processes in the background that the machine felt sluggish and slow and non-responsive.

You had to keep it running for few minutes after boot before you could start working on it. This was a total turn off. With the recent updates it started running a lot better. No more background CPU hogging processes. Hope the improvements keep on coming.

[C#] Mutliple Concurrent Producers and Consumers pattern for a Task Queue

If you are in need of a basic concurrent Producers consumers pattern to be used in your application, here is a sample C# program to refer to...