Skip to content

Instantly share code, notes, and snippets.

@dipnlik
Created January 1, 2012 21:26
Show Gist options
  • Save dipnlik/1548388 to your computer and use it in GitHub Desktop.
Save dipnlik/1548388 to your computer and use it in GitHub Desktop.
Reboot to Windows, but just once
do shell script "bless -mount /Volumes/BOOTCAMP/ -legacy -setBoot -nextonly" with administrator privileges
tell application "System Events" to restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment