Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to January 2016 Entries
Batch file that required administrative privileges.
I wanted to call from batch file powershell script that required administrative privileges.I needed to check, if it was started as Administrator and also set current directory where the batch is located.Thanks to couple of stackoverflow questions I've got this batch@echo offpushd %~dp0 &:: @ check_Permissions:processpo... &:: TODO the script to call@pausegoto end:check_Permissions @rem ......

Posted On Wednesday, January 27, 2016 9:04 PM

PowerShell function to delete if exist and create empty folder
In our PowerShell scripts for different folder it's required to delete if exist and create empty folder. To avoid to repeat folder name in three commands I've created a functionfunction DeleteIfExistsAndCreateEmpt... ){ if ( Test-Path $dir ) { Remove-Item -Recurse -Force $dir } New-Item -ItemType Directory -Force -Path $dir}I've also used this function in answer for SuperUser question How can I copy a directory, overwriting its contents if it exists using Powershell ......

Posted On Wednesday, January 27, 2016 7:58 PM

Pocket on IPad: Ability to rename articles is still missing
I haven't used Pocket on IPad for the last 2 years and was shocked that the ability to rename articles is still missing. It was available in Read It Later and was one of the biggest issues after Pocket forcibly replaced it.Four years later they acknowledged that it is one of the top requests but nothing is currently planned. It's just ridiculous. Previously I've already wrote about problems with Pocket software ......

Posted On Tuesday, January 26, 2016 8:40 AM

Read CSV files with multiple lines
I needed to read CSV files with columns, containing strings in double quotes. The problem was that there were new lines within the column. Fortunately I found the article that reads the strings with multiple lines http://www.blackbeltcoder.c... article that I considered ,but haven't used is ......

Posted On Sunday, January 24, 2016 5:31 PM

Tiny MCE editor in ASP.Net Web Form
I wanted to implement rich text editor in ASP.Net Web Form. I found that Tiny MCE editor is very popular and selected it.I've followed the article http://blog.tentaclesoftwar... and it was enough to make it workingAnother article, that I read was ......

Posted On Sunday, January 24, 2016 2:21 PM

Copyright © Michael Freidgeim | Powered by: