Minimalist program for getting the URL of a file or directoryEvery once in a while I have to convert a file location to an URL, which is in principle a straight-forward process, alas I'm always forgetting where to put the drive letter when I'm doing it under Windows. Here's file2url.jar, a minimalist Java program (5,923 bytes from Sunday, 02-Jan-2011 16:08:30 CET). If you have Java installed just double-clicking the downloaded jar file should display a window where you can popup a file dialog to select a file or directory. The selected file is displayed as an URL, and you can copy this URL to the clipboard to use it where ever you need. That's all. If you are paranoid with downloads from unknown sources like this page (and you definitely should, even with a nice guy like me) and know how to compile Java souces or if you are just curious here's the source code (6,218 bytes from Sunday, 02-Jan-2011 16:08:30 CET). It's in the public domain. Back to de·caff... |