Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

z0n3x

macrumors member
Original poster
Feb 9, 2008
35
0
For those of you that hate booting by holding down option, I found a nifty little script that allows you to boot into windows very easily. This is a repeat of an old macosxhints tip, but I have never seen it anywhere else so here it is.


Directions:
Open Script Editor and type in the following:

do shell script "bless -mount /Volumes/WINDOWS/ -legacy -setBoot -nextonly" with administrator privileges
do shell script "shutdown -r now" with administrator privileges

-"The first line, using the "bless" command, sets your system's startup disk to whatever appears after "-mount" - in our case, our Windows partition is located at /Volumes/WINDOWS. The -nextonly flag means that the change will only apply for the next startup, after which your computer will return to booting into OS X as normal. The second line simply tells your computer to restart, so that when you execute the script your computer will immediately begin shutting down and then booting into Windows."

Save this script and then if you like you can change the icon to a more friendly icon like the windows icon in this: http://interfacelift.com/icons-mac/details.php?id=1784


Thats it folks!
 

Attachments

  • Picture 1.png
    Picture 1.png
    392.4 KB · Views: 49
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.