original21 Posted August 28, 2007 Share Posted August 28, 2007 (edited) Hello. I made a GUI but i need a reboot button. Can you please help me with the code? i am using this in the WINPE 2 disk Edited August 28, 2007 by original21 Please allow me to introduce myself I'm a man of wealth and taste I've been around for a long, long year Stole many a man's soul and faith Link to comment Share on other sites More sharing options...
original21 Posted August 28, 2007 Author Share Posted August 28, 2007 Can i use this as a button? Shutdown(6) ;Force a reboot Please allow me to introduce myself I'm a man of wealth and taste I've been around for a long, long year Stole many a man's soul and faith Link to comment Share on other sites More sharing options...
Monamo Posted August 28, 2007 Share Posted August 28, 2007 Can i use this as a button? Shutdown(6) ;Force a rebootYep, that's the right syntax and value for a forced reboot. Not sure how WinPE will react to it - Even with the WinXP basis for the shell, I've not experimented with AutoIt in PE myself. - MoChr(77)& Chr(97)& Chr(100)& Chr(101)& Chr(32)& Chr(121)& Chr(97)& Chr(32)& Chr(108)& Chr(111)& Chr(111)& Chr(107)-------I've told you 100,000 times not to exaggerate!-------Don't make me hit you with my cigarette hand...-------My scripts:Random Episode Selector, Keyboard MouseMover, CopyPath v2.1, SmartRename for XP,Window Tracer[sup]New![/sup] Link to comment Share on other sites More sharing options...
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