Programming, Software, Technology, VBScript

Handy VBScript to Remove the WhiteSpaces from All File Names in a Folder

Here is a super simple VBScript that will remove any white spaces from filenames in a folder. There’s no need to specify the folder, just copy it to the folder you need and double click to run it. Of course you’ll have to copy the lines of code below into a notepad file and save it with a .vbs extension. Continue reading “Handy VBScript to Remove the WhiteSpaces from All File Names in a Folder”

Advertisement
Programming, Software, Various Languages, VBScript

Example Batch File to Identify a User and Run a VBScript File

Here is the syntax for writing a simple batch file that checks the user name of the account that is running the script, and then executes a VBScript file if the user name is positively matched. As part of the test, I’ll show how to execute the VBScript from the batch file while suppressing an intentional error message thrown in the VBScript file.  Continue reading “Example Batch File to Identify a User and Run a VBScript File”