Michael's utility applications


RenamePhotoFile

A WIN32 console application that renames jpg files, to format 'YYYY-MM-DD hh:mm:ss.jpg'. It reads the Photo Taken Date from the jpg exif information.
Syntax: RenameFile szSearchPath [/i] [/r] [/t]
  szSearchPath can contain wildcard characters (* and ?).
  /i Info mode, does not change any files.
  /r Rename files.
  /t Change date/time of files.

- RenamePhotoFile 2015-09-28 (zip 4kB)
- RenamePhotoFile with source code 2015-09-28 (zip 129kB)


MichPad

A simple notepad (WIN32 application) that can handle normal text files and also UTF-8 format. I wrote this because of the annoying bug in Microsoft Notepad (faulty handling of new line) and also I had a need for handling special characters in foreign language (which Microsoft WordPad cannot handle).
2.0: Added support for Unix UTF-8 files, i.e. files with only LF as row ending and no BOM header.
- MichPad 2.0 2017-03-10 (zip 11kB)
- MichPad 2.0 with source code 2017-03-10 (zip 30kB)
- MichPad 1.0 2013-09-27 (zip 10kB)
- MichPad 1.0 with source code 2013-09-27 (zip 28kB)


DestroyDisk

The DestroyDisk is a WIN32 console application that wipe out a harddrive, delete all of it's contents. This is done on drive level, below the partition. The partition table will be over written and also the MBR.
NOTE: All data on your hard disc will be deleted!
This program can be used to test new hard drives, USB memory and SD-cards.
Newer Windows might restrict direct disc access (fails on first write). If so, remove all partions on the disc. This will give the program access to write directly to the disc.
- DestroyDisk with source code 2016-12-31 (zip 39kB)   Added "addr4", address test write 512 bytes in 4096 bytes steps. Added error message to indicate position of disk failure.
- DestroyDisk with source code 2016-04-10 (zip 38kB)   Added time and MB/s in check part. Skip the last turn in loop for time statistics.
- DestroyDisk with source code 2010-07-17 (zip 38kB)   Support removable media. Added address test. Added address test in the check part.
- DestroyDisk with source code 2009-03-28 (zip 35kB)


RecToTs

The RecToTs.exe is a WIN32 console application. It converts rec files from Topfield 5xxx PVR boxes to plain ts files. It can also create files that is possible to play on TF7700HDPVR or Vantage HD 8000S. The source file can be a ts file, with or without a header.

Syntax: RecToTs SourceFileName DestinationPath [/i] [/k] [/b] [/f] [/7] [/Lxxx]
  SourceFileName   Source file name, can include wildcards.
  DestinationPath   Existing folder, must end with "\".
  /i   Only print information, do not create a destination file.
  /k   Include only known PIDs (from PMT) and no error nor scramble packets.
  /b   Remove scrambled beginning.
  /f   Auto find TS packet beginning (source can be a plain ts file).
  /7   Create additional files for TF7700HDPVR, split the ts file and the same as /k /b /f.
  /8   Create additional files for Vantage HD 8000S, split the ts file and the same as /k /b /f.
  /Lxxx   Language for the default audio track, xxx should be the language id, e.g. eng or deu.

- RecToTs 2008-11-29 Beta (zip 39kB)   Added support for Vantage HD 8000S. Changed the idx file contents.
- RecToTs 2008-06-11 Beta (zip 38kB)
- RecToTs 2008-05-02 (zip 38kB)
- RecToTs 2008-04-15 (zip 37kB)


HavToRec

The HavToRec.exe is a WIN32 console application. It converts hav files from a Dilog DT-550 DVR box to rec files (Topfield 5xxx).

Syntax: HavToRec SourceFileName DestinationPath [/i] [/t] [/k] [/b] [/h]
  SourceFileName   Source file name, can include wildcards
  DestinationPath   Existing folder, must end with \
  /i   Print information, does not create a destination file.
  /t   Print TS information. Use with /i
  /k   Include only known PIDs.
  /b   Remove scrambled beginning.
  /h   Do not write rec header, i.e. create a TS file.
Please note: If the /k switch is used and there are several audio track, some might get lost.
- HavToRec 2007-03-15 (zip 27kB)
- HavToRec with source code 2007-03-15 (zip 38kB)


ClearToppyHeader

The ClearToppyHeader.exe is a WIN32 console application. It can be used on rec files from a Topfield TF5xxxxPVR box. It will clear out (write zero) in the most part of the header, but keep the important service id and PID numbers. This can be used if you have a rec file from one type of box and would like to play it on another type and it fails, e.g. to be able to play files from a TF5510PVR box on a TF5000PVRt box.
- ClearToppyHeader 2007-01-12 (zip 21kB)
- ClearToppyHeader with source code 2007-01-12 (zip 25kB)


CopyPartOfFile

The CopyPartOfFile.exe is a WIN32 console application. It copy a part of one file into a new file.
- CopyPartOfFile 2006-12-30 (zip 23kB)
- CopyPartOfFile with source code 2006-12-30 (zip 25kB)


HavToTs

The HavToTs.exe is a WIN32 console application. It converts (cleans) hav files from the Dilog DT-550 DVR box into ts files (transport stream).
Please use the HavToRec application instead with the /h argument (and maybe /k /b).
- HavToTs (2006-05-25)
- HavToTs with source code (2006-05-25)


File copy via clipboard

These two programs make it possible to copy a file via the clipboard. This make it possible to copy a file over a Terminal Server connection (Remote Desktop).
- CopyFileToClipboard and PasteFileFromClipboard 2005-07-31 (zip 36kB)
- CopyFileToClipboard with source code 2005-07-31 (zip 21kB)
- PasteFileFromClipboard with source code 2005-07-31 (zip 21kB)