Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 04, 2016, 10:20:04 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: RunItOnce 1.0  (Read 1787 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,277
    • View Profile
    • Miles Ahead Software
    • Donate to Member
RunItOnce 1.0
« on: November 19, 2011, 06:03:13 PM »
RunItOnce 1.0 as you might suspect is one of those utilities that adds a program to the Windows Registry RunOnce key.  The most convenient usage is to add a shortcut to RunItOnce to the Windows SendTo Menu. Right click a program or batch that needs to be run before Windows is fully engaged, and select RunItOnce from the SendTo Menu.

Run with no arguments it presents a File Open Dialog to select a single file to add to the key. To avoid entries being overwritten in the case you may add several things to be run once, the base file name of the program path is appended to RunItOnce_ to generate a string value that should be unique.  For example if you add MyPerfectBatch.cmd to the run once key, the string value in the key would be "RunItOnce_MyPerfectBatch" etc..

On next boot the program is run and Windows removes it from the Registry RunOnce key.

I made a little AHK script to delete all the index.dat files on the system drive.  Rather than use Regedit or some other utility I figured I may as well make a convenient method to add items to the key.

Deleting all index.dat files requires scanning the entire partition. Not something you want to do on every boot.  It's a good candidate for RunItOnce.

You may download RunItOnce from my page here:

http://www.favessoft.com/downloads.html