Leigh Brasington's Win/9x/ME/NT/2000/XP/Vi ShareWare

This page contains shareware and freeware that I've written and that you might find useful.
It is all 32 bit software for Win/95/98/ME and Win/NT/2000/XP/Vi.

Releases:
UDP intrasrv wgetall instmpl8 SetCurPos TodayAt calnsert cal16 calyr ShowFont DoIt
Traverse FixClip ClipBook CopyThis CopyFile SplitIt cvtcrd lsed lgrep dump tighthtm pathof

Beta Programs:
cmder 2009/07/01

  • UDP: The Unicode Document Processor   Windows Application
    UDP is a stand-alone document processing program that works with Unicode fonts in the Win/98/ME and Win/NT/2K/XP/Vi environments. It supports not only word processing and databases in multiple languages, it also supports faxing and "one-click" e-mailing. UDP is a powerful document processor with many more features than are found in other free word processors such as WordPad. It is freeware and is available for FREE download. FDP: The Free Document Processor is an ANSI and Diacritical fonts only version of UDP.

    UDP is available both of these locations:
    http://udp.leighb.com & http://www.oocities.org/potalasw/udp

  • IntraSrv: Simple Web Server   Console Application
    This is a small web server that you can run to allow a directory and all its subdirectories to be accessible via a web browser. You will only want to do this on a local network (LAN) that is protected by a hardware firewall (such as a Linksys or D-Link Firewall Router). This little web server was built from the Visual C - wsrv at Web Programming with Sockets. More info here.

  • wgetall: Simple HTTP downloader   Console Application
    This program will download a file via HTTP, save it in the current directory, then download all the files pointed to by downloaded file. It is primarily intended to use with IntraSrv to grab all the files pointed to by a page IntraSrv is displaying. But it can also be used to grab all the files pointed to by any HTML page on the internet (currently there is no support for cgi, php, asp, etc. pages). This simple HTTP reader was built from the Visual C - wget at Web Programming with Sockets. More info here.

  • instmpl8.exe (stored in instmpl8.zip - 15,174 bytes) Console Application
    This is a program to insert a template into an HTML file. It is very useful if you have a menu (for example) that occurs on a number of pages and you want to change the menu in all pages quickly and easily. Make a template HTML file that contains your menu and surround it above and below with markers like
    Then surround the menu in each of your web pages with the same markers. When you run instmpl8.exe against each web page, whatever is between the markers is removed and replaced with what ever is between the markers in the template file.

    Usage is instmpl8.exe [Template-file] [Target-file]
    The markers being looked for are
      "<!-- BEGIN AUTO INSERTION BLOCK OF "
      "<!-- END AUTO INSERTION BLOCK OF "
    (The quotes are not included, of course).
    There must be only one set of markers in the [Template-file].
    A log file will be found in the same folder as instmpl8.exe if there are any errors.

  • TodayAt.exe (stored in todayat.zip - 27,363 bytes) Windows Application
    This is a simple Alarm program. Run it from the Start > Run dialogbox (or a DOS box). It takes a time (HH:MM) or minutes (:MM) and disappears. Examples: It rings the alarm when the time is up and reappears. You can re-show and re-hide the Alarm Window(s) by running todayat show or todayat hide. Unzip todayat.zip and place both files in your PATH (e.g. c:\windows). Run todayat with no arguments (or /?) to see more options. You can change the alarm sound by replacing the TodayAt.wav file in the same folder as TodayAt.exe - just copy the desired WAV file over the existing TodayAt.wav.

  • SetCurPos.exe (stored in setcurpos.zip - 10,503 bytes) Windows Application
    This program takes 2 numbers as command line input and positions the cursor at that location on the screen. The first number is the horizontal offset; the second number is the vertical offset. The numbers can be a plain number (e.g. 320) or a single arithmetic operation (640/2). If a number is greater than your screen dimensions, it is converted to your screen dimension - this makes it possible to set the cursor based on the current resolution of your screen (e.g. 9999/2 is converted to half your screen's width or height).
      Examples: Why is this useful? If you create Shortcuts on your desktop and set their Shortcut Keys, you can instantly jump the cursor to a location on your screen with just a Ctrl+Alt+Key. If you make 9 such shortcuts and make the Shortcut Keys be the numerical keypad keys, you have a visually mnemonic way to jump your cursor to various locations on your screen. This can be especially useful on a laptop with a limited pointing device (joystick or touch pad). [Note: When creating Shortcut Keys in a Shortcut, position your caret in the Shortcut Key field and press the desired key - do not also press Ctrl+Alt - they will be added automatically.]

    The are also 3 possible command line flags to SetCurPos.exe:

    For the first 2 above, you will want to make shortcuts with Ctrl+Alt accelerators (I use the - and + on the Numerical Keypad); the 3rd is useful in your Startup program group.

  • calnsert.exe (stored in calnsert.zip - 19,541 bytes) Console Application
    If you want to add a calendar for this month to an HTML file, add the following 2 lines to the HTML file where you want the calendar inserted: Then run calnsert.exe name-of-HTML-file and this month's calendar will be inserted. Today's day will be in red. If you want today's day to be a link, run calnsert.exe name-of-HTML-file http://some.url and today's day will link to http://some.url. You can see an example of this by clicking here.

  • cal16.exe (stored in cal16.zip - 18,740 bytes) Console Application
    Run Cal16.exe to generate a 16 month HTML calendar starting from this month. You can add this program to your StartUp program group to automatically generate a new 16 month calendar whenever you boot your system. The output will be in calendar16.htm in the same directory that you are in when you run cal16.exe. You can add a numerical argument to generate more than 16 months - eg. for a 36 month calendar, run cal16 36.

  • calyr.exe (stored in calyr.zip - 21,525) Windows Application
    This program can generate an HTML Gregorian calendar for any year from 1701 to 2500 and will automatically display it in your browser. If you run it with no command line arguments, it will display a dialog where you can enter the year as well as other formatting values.

  • ShowFont.exe (stored in showfont.zip - 15,272 bytes) Windows Application
    Want a quick way to see all the fonts installed on your system and what they look like? Run this program and it will create an HTML file in your %TEMP% directory and then run your browser to display it (provided your browser is installed correctly to handle *.htm files).

  • DoIt.exe (stored in doit.zip - 12,766 bytes) Windows Application
    Ever want to run a Windows Application from a batch file on Win/NT or Win/2000 and have the batch file continue on like it does on Win/95/98/ME? If the batch file line just executes a Windows Application with certain flags, you can use this program to do just that.
    You can also set up a program with certain flags to run from a Command Prompt and not wait: Note that the copy of DoIt.exe with a new name and the *.Dat file must have the same BaseName and must reside in the same directory.

  • Traverse.exe (stored in traverse.zip - 13,008 bytes) Console Application
    Ever wanted to run some program or batch file in a directory and in all its subdirectories? Traverse.exe lets you do exactly that. Type traverse followed by the command line you want run and away you go.

    Examples:

  • UnInst1d.Exe (stored in uninst1d.zip - 14,455 bytes) Windows Application
    Do you want to use InstallShieldŽ to install multiple products in a single directory, but are afraid (or know for sure) that the UnInstallShieldŽ will remove shared files? Here's a program that will fix that. When you do your install, add UnInst1d.Exe to that single directory and run it. Then whenever you install another product in that directory using InstallShieldŽ run UnInst1d.Exe again.

    What running UnInst1d.Exe does is add its own name to the front of the UninstallString key at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current Version\Uninstall\<AppName> where <AppName> was set by the entry in the Application Name field of the Application Information dialog in InstallShieldŽ. Then when the uninstall is run from the ControlPanel/AddRemovePrograms dialog box, UnInst1d.Exe is called with a command line of UnInstallShieldŽ command. UnInst1d.Exe makes all *.dll, *.txt and *.isr files read-only; spawns the UnInstallShieldŽ command; then marks all *.dll, *.txt and *.isr files as read-write again after InstallShieldŽ finishes.

    If there are other files besides *.dll, *.txt and *.isr that you need to prevent from being prematurely uninstalled, create a file named Uninst1d.txt that contains a single ANSI text line with each filename (they can include * and ?) separated by one space. Maximum additional filenames is 30 using no more than 500 bytes. Add this Uninst1d.txt file to the directory along with Uninst1d.Exe.

    If there is only one package left in the directory, when it is uninstalled, Uninst1d.Exe does nothing except spawn UnInstallShieldŽ and immediately exit so all files are removed including itself.

    If you distribute Uninst1d.Exe as part of a commercial package, please read the note that can be seen in the Windows Explorer File/Properties dialog box for Uninst1d.Exe in the Version tab at the Legal Trademarks entry and pay the appropriate fee.

    Note: UnInst1d.Exe only works with InstallShieldŽ and UnInstallShieldŽ

  • FixClip.Exe (stored in fixclip.zip - 9,907 bytes) Windows Application
    I wrote this because I was annoyed that when copying and pasting in a Win/95 DOS box, I kept getting a CR/LF at the end of everything I pasted (unlike in Win/NT). This program removes that "extra" CR/LF, so that Win/95 DOS boxes behave like Win/NT DOS boxes. I found that having the contents of the ClipBoard always available - it's the title of this program's window - was also very useful. I run this program minimized, but the ClipBoard contents are now available on the TaskBar. See the Help menu item for more features.

  • ClipBook.Exe (stored in clipbook.zip - 23,054 bytes) Windows Application
    [Updated 2 Nov '08.] This is an expanded version of FixClip.Exe which remembers previous clipboard entries. It has two ways of remembering and reusing clipboard entries:

    1. It automatically stores previous ClipBoard entries of type TEXT and OEMTEXT. If there is a horizontal scrollbar at the bottom of the window, there are previous ClipBoard entries available - use the scrollbar to view them. If you find an entry that you would like to be the current contents of the ClipBoard, press the "Copy to ClipBoard" button just above the scrollbar. The previous entries (up to 32 of them) are stored in an internal 4096 byte buffer. This buffer is saved to disk when the program exits or File/SaveBuffer is selected. They are stored in most-recently-used order. Only TEXT and OEMTEXT entries are saved and only if they are less than 1024 bytes long.

    2. You can place numeric markers on ClipBoard entries so that they can be retrieved to the ClipBoard with a single keystroke. To mark the currently displayed entry, press the letter 'm' and then press a number between 0 and 9. To retrieve a marked entry, simply press the number you used to mark it and it will be copied to the clipboard. Entries of type TEXT, OEMTEXT and RTF can be marked and retrieved.
    There is an extensive Help system - see the Help menu item for more features.

  • copythis.exe (stored in copythis.zip - 5,995 bytes) Windows Application
    This program copies its command line to the clipboard. It is most useful when used with a Shortcut Icon that has a 'shortcut key' (i.e. Ctrl-Alt-someletter). You can build various shortcuts that have command lines that are things that you type very frequently. Then press Ctrl-Alt and the right letter and you load the clipboard; press Ctrl-V (usually) and you've typed the whole string in just 2 keystrokes. You can also preload the clipboard at boot time by putting such a shortcut in your Startup program group. This program has no visible window and terminates immediately after copying its command line to the clipboard.

  • copythis2.exe (stored in copythis2.zip - 9,524 bytes) Windows Application
    Like copythis but with three optional command line flags: /f /q and /i
    /f means that what follows is a full path & file name and to copy only the file name part to the clipboard: /q means strip any leading/trailing quotes from what follows: /i must be the last option and means ignore and just copy what follows as is -- so you can use copythis2 with Unix file paths or anything else that starts with a /: This was suggested by a user of copythis who wrote:

  • copyfile.exe (stored in copyfile.zip - 15,612 bytes) Windows Application
    This program copies the contents of a given file to the clipboard. The file can be given on the command line or if there is no command line, a standard File - Open dialog is displayed for you to enter the file name. The contents of the file are inserted as CF_TEXT (plain text) no matter what the file type is. This program has no visible window and terminates immediately after copying the file to the clipboard.

    CopyFile can be used with batch files to quickly place data on the clipboard. Here's an example of a batch file that will copy the current date and time to the clipboard:

  • cvtcrd.exe (stored in cvtcrd.zip - 14,303 bytes) Console Application
    [Updated 15 Sept '00 to handle *.crd files up to 256KB.]
    Got an old CARDFILE (*.CRD) file that you want to convert to something you can read these days since Bill Gates no longer supports this format? Download this program, run it on the command line in a DOS box giving it the CARDFILE file name and an output file name to convert your CARDFILE to a tab delimited file.

  • lsed.exe (stored in lsed.zip - 15,429 bytes) Console Application
    Want to do a find and replace in a whole set of text files where you use a for loop and sed - but the find or replace string has things like < or > or | or a weird mixture of spaces and tabs? You can do this with lsed provided the whole find-string in on a single line. You create a file with the find-string and another file with the replace-string (which may contain multiple lines) and run lsed

  • lgrep.exe (stored in lgrep.zip - 35,980 bytes) Console Application
    I use the ol' unix GREP all the time. But some of the DOS - Win/XX versions don't do exactly what I want do sometimes. So I wrote my own. The best feature of this is the "context" grep - it shows surrounding lines when it gets a hit. The following is taken from the "lgrep -?" help message:

  • dump.exe (stored in dump.zip - 14,323 bytes) Console Application
    Want to see exactly what's in a file? dump will dump the contents of a file to your screen in both hexidecimal and ascii formats, 16 characters per line: Usage is dump {flag} [input-file]
      {flag} is -a or -q or -x where
      -a   output ansi instead of ascii (only useful if redirecting to a file for viewing with e.g. notepad, wordpad, etc)
      -q   no hex counter; no ascii (no first & last columns)
      -x   -q plus prefix with 0x for C/C++
      -?   will print this help message

  • tighthtm.exe (stored in tighthtm.zip - 14,177 bytes) Console Application
    This little program removes extra whitespace and blank lines from HTML files. It does not alter whatever is enclosed in <pre> </pre> tags.
    Usage is tighthtm.exe [input-file] [output-file]

  • pathof.exe (stored in pathof.zip - 13,022 bytes) Console Application
    Now you can easily find out the full path of a command.
    Usage is pathof.exe [command]

  • SplitIt.Exe (stored in splitit.zip - 12,161 bytes) Console Application
    Got a file that is too big to fit on a single 1.44 floppy? Well now you can SplitIt.
    Usage is splitit [filename] {#K per block}, where the default for the optional {#K per block} is 1400. SplitIt creates SPLITIT.1, SPLITIT.2 ... SPLITIT.n - you can use the DOS "copy" command to put the pieces back together. NOTE: YOU MUST USE THE /b FLAG TO THE COPY COMMAND!

    Back to Leigh's Home Page Site Map                   Site Search 


    This page hosted by
    Leigh Brasington / / Revised 01 July 09