In order to modify custom script files, you will need to load them into a text file or script editor.
While Notepad.exe (provided with Windows) is a capable text file editor, you may find the script file much easier to read and modify within a syntax highlighting (color-coding) script editor.
If you have Visual Basic or Visual Studio installed on your system, then open the .txt files with either of these programs to view the files with syntax highlighting.
If you do not have access to a syntax highlighting editor, then you may want to try downloading one from the Internet.
Once installed, the settings you need to change in order to open a custom script .txt or .custom file with syntax highlighting are*:
1. Within the menu item: Settings --> Highlighters settings
Clear all language tickbox options (click the 'None' button) and select just the MS VBScript language option.
Add to the 'File Masks' box *.txt and *.custom file types. This will add these file types to the VBScript file filter list.
2. Open one of your script files and select the menu item: View --> Change Syntax
Select from the available syntaxes MS VBScript, then click the 'OK' button to apply the syntax color highlighting. Commented code (i.e. code that's been added to help assist you with creating your custom scripts) will now be highlighted in green.
(* settings apply to PSPad version 4.5.3 (Build 2298), being the current release @ 14-Jan-2008)