Sunday, November 23, 2008

How to configure ToggleNic.exe to work with Windows XP italian

ToggleNic is a useful Windows tool for enabling and disabling network connections from the command prompt. It can be downloaded here.

After installation, ToggleNic is configured (by default) to run with the english version of Windows: in other words, it doesn't work with localized Windows version, like mine (italian).

In order to let it work with a localized Windows version, all you need to do is to modify the file ToggleNic.exe.config found inside ToggleNic installation folder.

This config file is a simple XML-based configuration file. Specifically, you need to look at (and change properly) these settings:
  • NetworkConnectionsFolderName
  • EnableVerbName
  • DisableVerbName
These items respectively collect: the localized names of network connections folder, the menu item corresponding to "enable connection" and the menu item corresponding to "disable connection". Obviously, for a localized Windows version, they cannot be like those in the default configuration.

For the italian version of Windows XP, I've checked the following values work.
  • NetworkConnectionsFolderName: Connessioni di rete
  • EnableVerbName: &Abilita
  • DisableVerbName: &Disabilita

Please notice the & at the start of EnableVerbName and DisableVerbName: it's because menu items are provided with a keybord shortcut. (That's what &amp is meaning for).

No comments: