Couldn't you just run the Autoexec.Bat file after changing it to have it reexecute whatever it contains?