Sporadic Technical Rambling

Path Tool Long

Reading time: 5 minutes
windows python tool groovy nim

Over the last couple of years, I faced a Windows issue preventing me to delete directories or files with paths exceeding a certain size. Using the default Windows tools such as DEL, RMDIR, or Windows Explorer, resulted in errors The directory name ... is too long or The source file name(s) are larger than is supported by the file system.

Continue reading...

This python recipe demonstrates how to use ShowHTMLDialog with Python, ctypes and comtypes on Windows.

Continue reading...

Bring Colors to the Windows Console

Reading time: 5 minutes
python windows

The recipe described in this post demonstrates how to write foreground and background colored text in a Windows Command Line with Python and ctypes.

Continue reading...

The previous Python Tip, XML Schema Validation with Python, MSXML and PyWin32, described how to use PyWin32 and MSXML to validate XML contents against an XML Schema. The adaptation to perform the same with comtypes instead of PyWin32 is a simple translation.

Continue reading...

Python ships with XML libraries, but none addressing XML Schema validation. Several options are available to make up for this feature. The solution demonstrated in this Python Tip is a basic implementation of XML schema validation using MSXML and PyWin32.

Continue reading...

Open Command Window Here

Reading time: 5 minutes
windows powershell registry terminal

On Microsoft Windows one uses intensively Windows Explorer to access files on the system. Sometimes it is also necessary to open a command line in order to run commands that are not available via Windows Explorer. Wouldn't it be nice to open a command line in a folder from Windows Explorer? This article describes some of the options and provides complementary resources.

Continue reading...

SciTE Context Menu Extension

Reading time: 4 minutes
windows tool editor scite scintilla

Windows SciTE Context Menu (WSciTEcm) is a context menu handler that gives the ability, on Windows, to quickly open selected files with the source code editor SciTE (Scintilla Text Editor) in Windows Explorer.

Continue reading...