Tech and travel

Posts

Using the subst command in Windows

2005-08-08

The subst command in Windows XP (and possible earlier versions), allows you to assign drive letters to directories on the local disk. This can be used to create shortcuts in Windows Explorer for directories you use often. For example let’s assume you have a C: drive, that has a directory called work\project\subproj\code. This is where you store your source code for the current project. Having to go to that directory every time you open Windows Explorer (WE) is a bit of a nuisance, especially because WE doesn’t remember where you were if you close and reopen it.

Buenos Aires

2004-12-12

Some pictures of a trip to Buenos Aires.

Still not over the Falklands war

Still not over the Falklands war

Foz do Iguacu

2004-12-06

Some pictures of a trip to Foz do Iguacu on the Brasilian, Argentinian and Paraguyan border.

Foz do Iguacu

Foz do Iguacu

Rio De Janeiro

2004-11-22

Some pictures from Rio De Janeiro.

Downtown Rio

Downtown Rio

Automating Word with Python

2004-10-17

Sometimes you have to create loads of M$ Word documents, with only small changes in all of them. Given that we’re in the software business, it makes sense to automate this. As Python is a fantastic scripting language, we’lll use it in this article just to do that. The magic that makes this all happen is the Python Win32 Extensions module from Mark Hammond. This allows you to access COM (aka OLE, ActiveX or whatever the Microsoft marketing machine calls is these days) objects.

Copyright (c) 2024 Michel Hollands