Jump to content
CCleaner Community Forums

Start a program after defragmentation is finished


Recommended Posts

Running another program, after defragmentation is finished, may be useful in the sample case (useful for developers):

1) Before defragmentation all temporary files (which are generated during compilation ~10 GB) are removed.

2) After Defraggler succeeds, the compiler is run to build the sources.

 

I suppose a script can be written to manage this scenario, but I don't know how to tell Defraggler to quit after it finishes (some sort of command line option may help).

Link to post
Share on other sites
  • 2 weeks later...

Running another program, after defragmentation is finished, may be useful in the sample case (useful for developers):

1) Before defragmentation all temporary files (which are generated during compilation ~10 GB) are removed.

2) After Defraggler succeeds, the compiler is run to build the sources.

 

I suppose a script can be written to manage this scenario, but I don't know how to tell Defraggler to quit after it finishes (some sort of command line option may help).

 

Your question seems confusing a bit.

 

I believe you want Defraggler to:

 

- Run a program before defragging (so you can delete certain files)

- Defrag

- Run a program after defragging

 

I think this will make it simpler to understand.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...