Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

MatthewPainter

@MatthewPainter
About
Posts
4
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • DOS question
    M MatthewPainter

    Up till a couple of months ago I would have written this in VBScript no sweat but these days I am writing everything in PowerShell to get my skills up. Thanks for the challenge.

    # Make 100 test files (create dir structure first)
    1..100 | % ($_){New-Item "c:\scripts\Lfiles\L$_.txt" -type file}

    # Rename all files to specification (remove -whatif switch to make it live)
    Get-ChildItem c:\scripts\Lfiles | % ($_){rename-item -path $_.fullname -newname (($_.basename -replace "[0-9]", "")+("{0:000}" -f [int]($_.basename -replace "[^0-9]", ""))+($_.extension)) -whatif}

    The Lounge question help

  • R.I.P. Windows XP SP2
    M MatthewPainter

    Is it officially retired as they say? I say yes, until all the sp2 machines turn into a zombie army and threaten to take over the world.

    The Lounge csharp com question

  • Back to the Stone Age...
    M MatthewPainter

    BC3Tech wrote:

    I don't think it's necessarily "stone age"

    I agree, but it is supprising how many newer techs don't know it. I am sure there will come a day when I say, Back in the days when I wrote a vbscript to do that" and be looked at with contempt.

    The Lounge adobe question

  • Sharks with freakin' laser beams on their heads
    M MatthewPainter

    Get a bigger light, brightest wins. I suggest "The Torch" from Wickedlasers, it will force the walkers to have to stop instead.

    The Lounge question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups