Automating Batch Cleanup
Results 1 to 3 of 3

Thread: Automating Batch Cleanup

  1. #1

    Automating Batch Cleanup

    Combineing the batch utilities found at and Kevin's Universal Batch Cleaner, found here

    and the Evidence Eliminator Eliminator found at

    I am starting to develop my own Ultimate cleaner, It will be a console application to cut down on file size and increase processing speed.

    I know how to get it to run at startup, which is easy, but what I don't know is how to make it run at shutdown.

    One idea I had was to create a batch file like so

    mycleaner -c -r c:\mycln.conf
    rundll32.exe user.exe, exitwindows

    But in that case I would have to open that batch every time I want to shutdown, instead I want to be able to have it automated when you click Start>Shutdown

    I recieved a tip about editing cpl (dos shortcuts) at

    He did not follow up with his post, and when I emailed him, I got a bounce back. I did however find a utility for editing cpl files called Resource Hacker at

    Which is of cource freeware. However I have no idea what cpl file to edit to make it run at shutdown.

    Can someone direct me as to how I can make my batch cleaner start at shutdown?

    Opinions, sugestions are welcome.

  2. #2
    Senior Member
    Join Date
    Aug 2002
    What OS is this for? It looks like you are talking about Windows...I believe that you can configure shutdown scripts with one of the many Group Policy objects found in AD (Win2k)...
    Opinions are like holes - everybody\'s got\'em.


  3. #3
    OS is Windows 98 SE, I checked through the registry for anything that contained rundll32, and found alot of stuff, but I am not shure which one runs with shutdown. I realy dont want to resort to adtional software like any sceduler or any of that, It would be nice if I could find a registry key responsible for shutdown.

    I know that in delphi you can intercept shutdowns. I will be useing either C++ or batch.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts