Tags » VBScript

VBSCRIPT to merge multiple text files

Const ForReading = 1

Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objOutputFile = objFSO.CreateTextFile(“output.txt”)

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\cimv2″)

Set FileList = objWMIService.ExecQuery _… 35 more words



The wshshell object is quite useful and easy to memorize.  It may be used directly in the IDE of Visual Basic 5 and 6 or with VBScript. 555 more words


How to with Regular expressions


  • .at matches any three-character string ending with “at”, including “hat”, “cat”, and “bat”.
  • at matches “hat” and “cat”.
  • [^b]at matches all strings matched by…
  • 113 more words
Windows Server/Client

Script to change Assigned Site code


A question from one of my MVP friends: Do you have a script to change client site code? Someone assigned a wrong sitecode to some clients and need to change it. 281 more words


Remove or Hide PowerPoint Controls on All Slides

If you customize PowerPoint with controls (button, text boxes, labels, etc.) you may want to delete or hide these to create a clean version of your presentation. 174 more words


MDT 2013: Pin Start menu & Task Bar Shortcuts through Task Sequence

Below is how we stopped modifying the Start Menu & Task Bar shortcuts on our Default Image (GOLD IMAGE) using MDT 2013 Task Sequence.  This applies to Windows 7 and I’m sure it could be modified to work with Windows 8.1.   3,023 more words

Windows 7