Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am going to write a boot time program which will delete some configuration files and replace them with some of my own. The only problem is is that these files are in use by the system process.

  1. Is this even possible?
  2. How can I get the program to run before the system process is started?
  3. What language would I need to write my program in?
share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

You can do this in windows, you encouter this any time a program ask to reboot windows after installing/uninstalling. I could not find the link for windows 7 but this may get you started on the right path on how to replace a in-use file at reboot.

share|improve this answer
add comment

If you want to do something before the system loads, you will have to do it when the system is offline (through a different host OS). It does not matter what language you code this in.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.