December 9, 2011
I decided to look into impersonation a bit more and how I could force our Windows Platform to impersonate, without letting our users change it back in their web.config file. I found a good number of google searches, but nothing really stuck until I realized I could simply add in the web.config of the machine [...]
October 11, 2011
I had a need to make a Windows Service, but I was using Visual Studio 2010 Express. You may notice does not come with a Windows Service template. I’m not sure why they decided not to include this template, other than they want to force people to purchase their product to get basic functionality. Little [...]
January 24, 2011
When you just need the current HOUR, MINUTE, SECOND in a batch file. set hr=0%TIME:~0,2% set hr=%hr: =% set hr=%hr:~-2% echo %hr% set min=%TIME:~3,2% echo %min% set sec=%TIME:~6,2% echo %sec% Here is how it works. First off the hour. If you run echo %TIME% and it happens to be 7 AM, you’ll get ” 7″ [...]