Open with UE Studio – Context Menu option for all files

I often want to open random files in my favorite text editor, UltraEdit Studio to take a quick peek at the contents. However, often the files don’t have a recognized extension, have an extension that is associated with something else, or have no extension at all. Some time ago I added a link to the “Send to” menu, which works, but it’s always an extra step to navigate to the Send to sub-menu first. This is a common operation. Google search quickly produced a post in Wes’s Puzzling Blog that outlines how to add a context-menu option for Notepad. It worked, almost. I had to make one small change (besides the cosmetic text change from “Notepad” to “UE Studio”).

Here’s my version:

[HKEY_CLASSES_ROOT*shell]

[HKEY_CLASSES_ROOT*shellopenuestudio]
@="Open with UE Studio"

[HKEY_CLASSES_ROOT*shellopenuestudiocommand]
@="c:\Program Files\UEStudio 06\uestudio.exe" %1

I had to move the file variable %1 outside of the quote marks in order for it to work, possibly because there is a space in the file path.

You can also download open_with_uestudio.reg that, once saved (with .reg extension) to a local hard drive, can be used to add the necessary keys into the registry by double-clicking on the file (obviously it only works unmodified if you have UE Studio installed, and in the same path as on my system). This works on Windows XP and Windows 2003 Server, not sure about Vista.

Disclaimer: Always be careful when editing/modifying registry. This worked for me but I’m not responsible for broken installs if you mess it up!

The Best (S)FTP(ES) Client!

I’ve been using Van Dyke Software’s SecureFX for a long time for FTP transfers. It’s a decent software, but I’ve always found its user interface a bit clumsy (floating windows inside a master window..). Recently the need for secure connections has become increasingly important, and SecureFX doesn’t support Explicit FTPS, or “FTPES”. The difference of the “explicit” and “implicit” FTPS was well described on a page found on Enterprise Distributed Technologies site:

Before the FTPS Internet Draft was published a somewhat abortive attempt at offering a secure version of FTP was made. This is now referred to as implicit FTPS. It is a very simplistic technique which involves using standard secure TLS sockets in place of plain sockets at all points. Since standard TLS sockets require an exchange of security data immediately upon connection, it is not possible to offer standard FTP and implicit FTPS on the same port. For this reason another port needs to be opened – usually port 990.

Implicit FTPS is in the process of being phased out in favour of FTPS as described in the Internet Draft. This newer variant of FTPS is now referred to as explicit FTPS. It has a some substantial advantages over implicit FTPS:

  1. It is a standard extension of FTP and is therefore supported by most FTP servers.
  2. It uses standard FTP ports meaning that there is no need to open addition ports in firewalls when upgrading from FTP to FTPS.
  3. It is more flexible in that it allows security to be turned off and on in a single session.
  4. It is compatible with the RFC2228 standard.

I decided to review some other FTP clients at hand. The excellent Filezilla would be perfect, except it doesn’t yet support RSA-key based SFTP authentication making it unsuitable for accessing the roots of remote systems. Its Explorer integration was also imperfect in that attempting to drag a file from a connected ftp site to the desktop (outside of the program window) resulted in an error.

I tried FTPRush, but gave up on it after a while — could not get FTPES working properly. It probably would work, but the reason for why it did not work was not obvious.

WinSCP offers SCP/SFTP (both key and password based), but it doesn’t support FTPS, explicit or implicit.

CuteFTP Pro supports all three connectivity types, but while existing key types can be defined, it’s finicky on the format of the key (I could not get an externally generated key working). Additionally it only supports *one* RSA key globally for all profiles AND it doesn’t allow dragging-and-dropping items from a connected remote site to the local desktop or other explorer location (i.e. outside of the application window). I crossed it out.

I looked at the screen shots of CoreFTP.. and they were enough to convince me I would not want to try it.

Finally, I gave the latest version of the ‘ol WS_FTP Professional by Ipswich systems a try, and found all three connectivity types easily configured. It also wants to generate RSA keys itself, but at least each profile can have its own key and drag-and-drop out of the application window works. Seems it’s the winner, for now (Filezilla holds a lot of promise — once they implement RSA key authentication it may well come out at the top.. especially since it’s free software).

N.B.
Two other slightly different kind of FTP clients worth mentioning here are WebDrive and SFTP Drive which map Windows drive letter(s) to remote FTP site(s). Both work very well; WebDrive is a bit more configurable (and a bit more expensive) of the two. Both support SFTP (password or RSA key pair authentication), WebDrive additionally supports WebDAV, Amazon S3, and insecure FTP. Neither program offers support for FTP(E)S. (Update: read the post comments regarding FTPS support in WebDrive.)

Total Uninstall + ExpPrint = *TOTAL* uninstall

I’ve been using Marteau’s Total Uninstall for quite some time now, and generally it works very well.  It keeps the system clean of the junk programs generally leave behind when they’re uninstalled.  However, couple of days ago Total Uninstall totally uninstalled my system.  I needed to print a listing of the contents of a folder, and I remembered a program I had tried at some point, ExpPrint.  I downloaded and installed the latest version of ExpPrint, 3.1.0.1, and printed the directory. Few hours later it occurred to me that the excellent file manager that has long been part of my core utilities, Directory Opus, might have the directory printing functionality built in — something which I confirmed quickly. It also turned out that that the directory printing features of Directory Opus worked better and were more configurable than those of ExpPrint… so I decided to uninstall ExpPrint.  I fired up Total Uninstall, selected ExpPrint, and started application uninstall which quickly completed. I then clicked on the “Uninstall” button of Total Uninstall to remove the scraps left behind by the software.

Only this time I would be treated to a total uninstall of my Windows XP as I was about to find out. Total Uninstall first displayed few items that “were added after the program [to be uninstalled] was installed”. They were generic context-menu items, so I made sure they were unselected, and proceeded. Program worked for some 20 seconds and then produced a lengthy list of all the registry values it had deemed part of the ExpPrint, and thus removed.  Only the list contained good part of my XP’s registry values including all context-menu items, all file associations, etc. Needless to say, after that nothing worked, including the system restore.

Nor did it help to attempt to restore system state (there would have been a very recent system state available) from the recovery console as outlined in a TechTarget article. Windows would just not start. Realizing that even if I were able to get it back up and running, the configuration would likely never work very well, I resigned to a full reinstall with a sigh.  Since the filesystem was intact and since I keep good backups, I lost no data, just time.

Lesson learned: it’s worth keeping a restorable image backup of the system/program files partition in addition to data backups.

Update 17 September 2008: I’m still using Total Unintall, or at least “have been using it”.  Yesterday I was installing some Photoshop plugins, and while doing so accidentally installed a plugin into inDesign’s plugin folder.  So I fired up Total Uninstall to remove the software. The result: the entire plugins folder of inDesign was wiped out. Fortunately only files were touched, and fortunately Total Uninstall removed them to Recycle Bin, so restoring them was fairly easy without a lengthy repair/reinstall of inDesign. But as it seems Total Uninstall doesn’t have a feature to preview what is about to be uninstalled, I’m now questioning how good of an idea its continued use is. I’ve found the program quite effective, but errors like this make it hazardous to use. I’m going to suggest a preview as a new feature, but meanwhile—until/if such feature is added; see my feature request on Martau.com—I may opt to use some other uninstaller that does provide the preview as well as the option to choose whether or not to remove the “left over” items the uninstaller has found, or if no software provides such feature I may lay off 3rd party uninstallers for now—it’s better to have clutter in the system than to have to have to reinstall everything. I took a quick peek at Total Install’s competition (including Your Uninstaller!, Advanced Uninstaller PRO, free Revo Uninstaller, and the popular, also free CCleaner), and I wasn’t impressed. Let’s hope Martau adds the uninstall preview; it’s otherwise the best tool for the job!

Update 21 September 2008: My over-zealous spam-filter had caught Martau’s response to the initial problem in August. It has been addressed in the current release and “total uninstall” should no longer happen! Also, it turns out that the detected changes display (the “Changes” tab) in Total Uninstall displays all the changes that the program has detected for each installed program, and that will be reverted or removed during the uninstall. Thus, by reviewing the detected changes in prior to starting the uninstallation process any unpleasant surprises can be avoided. This is pretty much what I was looking for with the “uninstall preview” feature (as outlined in 17 September 2008 update above).  Good job, Martau!  Now I can continue to recommend Total Uninstall as the best uninstall tool available for Windows!

Yahoo! Widgets Off the Screen! (And How to Get Them Back)

I like Yahoo! Widgets (formerly known as “Konfabulator”). I use XP for some time to come and thus don’t have the option to use Vista’s widgets (the only thing in Vista that currently has some draw to it is DirectX 10, but I digress..). Every now and then a widget “gets lost”. For example, when starting a program (like a game) that changes the display resolution, the widgets get tossed around seemingly randomly, and sometimes they end up outside of the active (and possibly maximum) resolution of the display. Closing a widget and reopening it won’t help. Uninstalling Yahoo! Widget Engine probably helps, but who wants to do that regularly? There’s an easy registry fix (and if the problem is frequent, one could even write a small batch file that would place the widgets at their desired locations).

Shut down Widget Engine first (also from the system tray), then find the following key in your registry with regedit (you may want to use search especially if the system has many users and thus many SIDs).

The keys that determine the widget locations can be found at

HKEY_USERS
user’s security ID, or “SID”,
… e.g. S-1-5-21-1482476501-362288127-1801674531-1233

Software
Yahoo
Widget Engine
Widgets
widget name, e.g. “Calendar”
Windows
Main Windows

Positions <- delete this binary value

Then restart Widget Engine (and reload the “lost” widget if it’s not loaded by default). It the default placement is in the middle of the screen (or middle of the “active” screen on some multi-monitor systems).

Disclaimer: As always, the usual disclaimers and warnings apply to any registry mods. Know what you’re doing since it is possible to destroy your Windows installation with careless registry edits.