Tag Archives: Batch

Merry Christmas; Santa Claus screen mate

If you’re old like me, you might remember screen mates or desktop pets. These were programs you’d run on your computer that put little interactive creatures on your screen. The first one I ever encountered was eSheep, back in the … Continue reading

Posted in Coding | Tagged , , , , , | Leave a comment

Batch script admin check

Have a batch script that requires administrator elevation? Put this line at the top of your script. @FLTMC >NUL 2>&1 || (POWERSHELL -WINDOWSTYLE HIDDEN START-PROCESS """%~f0""" -VERB RUNAS & EXIT /B)

Posted in Coding | Tagged , | Leave a comment

Batch Powershell launcher

Windows comes out of the box with Powershell scripts disabled, and asking every user to change their execution policy to allow running them is a hassle. To get around that, I wrote this little batch script snippet that I just … Continue reading

Posted in Coding | Tagged , , | Leave a comment