Installing the TRADOS 2007 language codes script (prototype)
Here are some instructions for installing the language codes script so that it can run with elevated privileges (note that you can use the same trick to run anything with elevated privileges). Please note that this is a Perl script, so you'll have to install Perl for it to work. Unless I really do write a non-Perl version, this won't be changing.

  1. Install Perl if you don't already have it.
    I personally prefer Strawberry Perl, but ActiveState also produces a Windows Perl.
  2. Download the plain-text version of the script somewhere convenient.
    Do this by right-clicking this link and saving the file as something with a .pl extension. Don't save it with its .txt extension.
  3. Create a shortcut in the same directory called anything you like.
  4. Edit the shortcut's properties.
    The Target field should contain "C:\strawberry\perl\bin\perl.exe" if you're using Strawberry, or whatever is appropriate for ActiveState, and of course be sure that if you saved the script with a different name that this name appears here.
    The Start in field should contain the name of the directory where you saved the script.
    Finally, click the Advanced button, and check the "Run as Administrator" box.
  5. Save the shortcut. You're done.

Alternatively, I highly recommend downloading the Elevate Command Power Toy featured in TechNet magazine in 2007. That gives you a simple command you can use to run anything as Administrator from the command line:

elevate perl
That will save all this rigamorole with setting up a shortcut. Your choice.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.