Batch Scripting Windows

Renaming Files Using Batch

i often have to change the file names of music i have imported from CD this little script allows me to remove the track number from the file name. @echo off setlocal DisableDelayedExpansion for /f “usebackq delims=” %%N in (`dir /s /b`) do ( set var=%%~nxN setlocal EnableDelayedExpansion set “org=!var!” set “var=!var:0 =!” set “var=!var:1 …

Continue Reading
Scripting VBS Windows

Find Startup Items

A long time ago i found this VBS script to display the start-up items for a windows pc. i can not remember who is the author of the script. hopefully this will help someone.  This script is a VBS script ‘ StartupList.vbs – Create a text listing of all startup items. ‘ ************************** User Tweaks ********************************* ‘ The FileExt …

Continue Reading
Scripting VBS Windows

Find Next Available Drive Letter

Sometimes when i cam creating a script to install an application or set up a network share, I come across the problem that the user is using the drive letter for another mapping. So I wrote a small script to display the next usable drive letter This script is written in vbs ‘************************************************************************ ‘* ‘* The script finds …

Continue Reading