Thursday, June 22, 2006

Free VBSEditor

If you frequently develop VB scripts and use Notepad for editing, then you can use this decent free VBSEditor which also offers syntex highlighting. This is a single EXE file and doesn't require any installation.

Following steps will add an entry into context menu for VBS files to edit those files in VBSEditor.

  • Create a folder called "VBSEditor" in "C:\Program Files\" and drop VBSEditor.exe in "C:\Program Files\VBSEditor\"
  • Copy-paste the following text in a plain-text file and save the file as vbseditor.reg.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\VBSFile]
@="VBScript Script File"
"EditFlags"=dword:00000000
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\VBSFile\Shell]
@=""

[HKEY_CLASSES_ROOT\VBSFile\Shell\Edit_with_&VBSEditor]
@="Edit with &VBSEditor"

[HKEY_CLASSES_ROOT\VBSFile\Shell\Edit_with_&VBSEditor\command]
@="\"C:\\Program Files\\VBSEditor\\VBSEditor.exe\" \"%1\""

  • Double-click on the saved vbseditor.reg to import required registry settings.

Now you can right-click on any VBS file and select "Edit with VBSEditor" for script editing.

1 comment:

Mantis said...

Cool, thanks