Weaklink

The three rules to remember are:

  1. Never put off until tomorrow what you can do the day after that
  2. Green is good
  3. Guilt is for suckers

Recent Posts:

PowerShell batch rename files

Append “_v2” to the filename in current and recurse folders: dir -Recurse *.xlsx | Rename-Item -NewName { “$($_.BaseName)_v2$($_.Extension)” } Remove all “_v2” characters from the filename in current and recurse folders: dir -Recurse *.xlsx | Rename-Item -NewName { $_.Name -replace “_v2″,”” } Reduce count of consecutive “_v2” characters from the filename in current and recurse … Continue reading

Posted in Computers, Scripting, Windows | Tagged , , | Comments Off on PowerShell batch rename files

MS DOS FOR Loop

Test run and print RENAME list all of the  ,XLSX files in current folder and its subfolders: @FOR /r %i in (*.xlsx) do @ECHO @REN “%i” “%~ni_v2%~xi”   Run and rename all of the  ,XLSX files in current folder and its subfolders: @FOR /r %i in (*.xlsx) do @REN “%i” “%~ni_v2%~xi”

Posted in Computers, Scripting, Windows | Tagged , | Comments Off on MS DOS FOR Loop

Clear “local cached” GPO settings

Sometimes, especially after a Domain migration, old GPOs remain cached on a client computer. To remove those cached GPO files follow these steps:

Posted in Support, Windows | Comments Off on Clear “local cached” GPO settings

Go to Posts page…