un4given1 Posted January 17, 2005 Posted January 17, 2005 I know it isn't complicated, I looked it through. But I'm still saying that it's harder for someone understand if he has just started working on commandfiles. It can be made a lot simpler (but maybe not as "neat") with multiple files. It's up to the poster to decide which method to use Believe me... those spawned from 5 files I used to use... I got tired of having 5 files, so I combined them This simply places a "placeholder" in the registry at the end of each step and reboots the PC. The next time the file is run it pulls that placeholder from the registry and jumps to that step.
MAVERICKS CHOICE Posted January 17, 2005 Posted January 17, 2005 I know it isn't complicated, I looked it through. But I'm still saying that it's harder for someone understand if he has just started working on commandfiles. It can be made a lot simpler (but maybe not as "neat") with multiple files. It's up to the poster to decide which method to use Believe me... those spawned from 5 files I used to use... I got tired of having 5 files, so I combined them This simply places a "placeholder" in the registry at the end of each step and reboots the PC. The next time the file is run it pulls that placeholder from the registry and jumps to that step. Nice one un4given1
aelfwyne Posted January 22, 2005 Posted January 22, 2005 I like the way poweroff.exe works -but I can't get it to work on my unattended CD... it's in the path okay, that's not the problem... The problem is it doesn't want to reboot when I want it to. I placed it at the same location that the shutdown was, near the top of cleanup.cmd, and it came up but blocked execution of the rest of the cleanup script. However, when I place it at the bottom of cleanup.cmd - it seems to not want to run, and windows just logs in normally without ever executing poweroff...So.... where am I supposed to put it so it reboots after all my runonceex entries?
un4given1 Posted January 23, 2005 Posted January 23, 2005 Why not just use the built in shutdown.exe? It does everything you would want it to.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now