Jump to content

reboot button


 Share

Recommended Posts

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 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

Can i use this as a button?

Shutdown(6) ;Force a reboot

Yep, 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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...